コード例 #1
0
ファイル: view.html.php プロジェクト: gorgozilla/Estivole
 function display($tpl = null)
 {
     $app = JFactory::getApplication();
     $this->state = $this->get('State');
     $this->pagination = $this->get('Pagination');
     $this->searchterms = $this->state->get('filter.search');
     //retrieve task list from model
     $model = new EstivoleModelDaytimes();
     $this->member_daytimes = $model->listItems();
     EstivoleHelpersEstivole::addSubmenu('daytimes');
     $this->sidebar = JHtmlSidebar::render();
     $this->addToolbar();
     //display
     return parent::display($tpl);
 }