function display($tpl = null) { // Get data from the model $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); ZhYandexMapHelper::addSubmenu('mapmarkers'); $mapList = $this->get('mapList'); $this->assignRef('mapList', $mapList); $groupList = $this->get('groupList'); $this->assignRef('groupList', $groupList); $userList = $this->get('userList'); $this->assignRef('userList', $userList); $iconList = $this->get('iconList'); $this->assignRef('iconList', $iconList); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode('<br />', $errors)); return false; } // Set the toolbar $this->addToolBar(); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }
function display($tpl = null) { ZhYandexMapHelper::addSubmenu('abouts'); $this->addToolBar(); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }
/** * display task * * @return void */ function display($cachable = false, $urlparams = false) { $vName = JRequest::getCmd('view', 'ZhYandexMaps'); JRequest::setVar('view', $vName); // call parent behavior parent::display($cachable, $urlparams); // Set the submenu ZhYandexMapHelper::addSubmenu($vName); return $this; }
function display($tpl = null) { // Get data from the model $items = $this->get('Items'); $pagination = $this->get('Pagination'); $this->state = $this->get('State'); ZhYandexMapHelper::addSubmenu('maptypes'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode('<br />', $errors)); return false; } // Assign data to the view $this->items = $items; $this->pagination = $pagination; // Set the toolbar $this->addToolBar(); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }