Exemplo n.º 1
0
 function execute()
 {
     if ($this->_source->RecordCount() === 1) {
         return $this->displayArticle();
     }
     return $this->_HTML_listTitle($this->_region->getName()) . parent::execute();
 }
Exemplo n.º 2
0
 function _activatePager()
 {
     if ($class_limit = $this->_class->getListItemLimit()) {
         $this->_pager_limit = $class_limit;
     }
     return parent::_activatePager();
 }
 function execute()
 {
     $output = "";
     if (isset($this->_subsections_display)) {
         $output = $this->_subsections_display->execute();
     }
     return $output . parent::execute();
 }
Exemplo n.º 4
0
 function initResults()
 {
     $source_set =& new ArticleSet(AMP_Registry::getDbcon());
     $this->_initSort($source_set);
     parent::init($source_set, false);
     $display_criteria =& new AMPContent_DisplayCriteria();
     $display_criteria->clean($this->_source);
     $this->_source->applySearch($this->_searchForm->getSearchValues());
 }