/** * Display method * * @param string $tpl template name * * @return void */ public function display($tpl = null) { require_once JPATH_COMPONENT . '/helpers/webservices.php'; WebservicesHelper::addSubmenu('webservices'); $this->addToolbar(); $this->sidebar = JHtmlSidebar::render(); // Display the template parent::display($tpl); }
/** * Display method * * @param string $tpl template name * * @return void */ public function display($tpl = null) { require_once JPATH_COMPONENT . '/helpers/webservices.php'; // Get items $this->items = $this->get('Items'); $this->state = $this->get('State'); $this->pagination = $this->get('Pagination'); WebservicesHelper::addSubmenu('webservices'); $this->addToolbar(); $this->sidebar = JHtmlSidebar::render(); // Display the template parent::display($tpl); }
/** * Display method * * @param string $tpl template name * * @return void */ public function display($tpl = null) { require_once JPATH_COMPONENT . '/helpers/webservices.php'; // Get items $this->items = $this->get('Items'); $this->state = $this->get('State'); $this->pagination = $this->get('Pagination'); WebservicesHelper::addSubmenu('webservices'); $options = array(); $options[] = JHtml::_('select.option', '0', 'JTEMPORARY'); $options[] = JHtml::_('select.option', '1', 'JAUTHORISED'); $options[] = JHtml::_('select.option', '2', 'JTOKEN'); $this->status_options = $options; $options = array(); $options[] = 'JTEMPORARY'; $options[] = 'JAUTHORISED'; $options[] = 'JTOKEN'; $this->status = $options; // Add the toolbar $this->addToolbar(); $this->sidebar = JHtmlSidebar::render(); // Display the template parent::display($tpl); }