Exemple #1
0
 public function display($tpl = null)
 {
     $this->state = $this->get('State');
     $this->form = $this->get('form');
     JDeveloperHelper::addSubmenu('import');
     $this->addToolbar();
     $this->sidebar = JLayoutHelper::render("sidebar", array("active" => "import"), JDeveloperLAYOUTS);
     parent::display($tpl);
 }
Exemple #2
0
 /**
  * @see JViewLegacy::display()
  */
 public function display($tpl = null)
 {
     $this->archives = JModelLegacy::getInstance("Archive", "JDeveloperModel")->getItems();
     // Check for errors.
     if (count($errors = $this->get('Errors'))) {
         JError::raiseError(500, implode("\n", $errors));
         return false;
     }
     JDeveloperHelper::addSubmenu('jdeveloper');
     $this->addToolbar();
     parent::display($tpl);
 }
Exemple #3
0
 public function display($tpl = null)
 {
     $this->items = $this->get('Items');
     // Check for errors.
     if (count($errors = $this->get('Errors'))) {
         JError::raiseError(500, implode("\n", $errors));
         return false;
     }
     JDeveloperHelper::addSubmenu('packages');
     $this->addToolbar();
     $this->sidebar = JLayoutHelper::render("sidebar", array("active" => "packages"), JDeveloperLAYOUTS);
     parent::display($tpl);
 }
Exemple #4
0
 public function display($tpl = null)
 {
     $this->items = $this->get('Items');
     $this->state = $this->get('State');
     $this->pagination = $this->get('Pagination');
     $this->filterForm = $this->get('FilterForm');
     $this->activeFilters = $this->get('ActiveFilters');
     // Check for errors.
     if (count($errors = $this->get('Errors'))) {
         throw new Exception(implode("\n", $errors));
         return false;
     }
     JDeveloperHelper::addSubmenu('extensions');
     $this->addToolbar();
     $this->sidebar = JLayoutHelper::render("sidebar", array("active" => "extensions"), JDeveloperLAYOUTS);
     parent::display($tpl);
 }
Exemple #5
0
 public function display($tpl = null)
 {
     $this->items = $this->get('Items');
     $this->state = $this->get('State');
     $this->pagination = $this->get('Pagination');
     $this->filterForm = $this->get('FilterForm');
     $this->activeFilters = $this->get('ActiveFilters');
     // Check for errors.
     if (count($errors = $this->get('Errors'))) {
         JError::raiseError(500, implode("\n", $errors));
         return false;
     }
     JDeveloperHelper::addSubmenu('templates');
     $this->addToolbar();
     $this->sidebar = JLayoutHelper::render("sidebar", array("active" => "templates"), JDeveloperLAYOUTS);
     parent::display($tpl);
     if (JFactory::getApplication()->input->get('ajax') == "1") {
         exit;
     }
 }