/** * View display method * @return void */ function display($tpl = null) { // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode('<br />', $errors)); return false; } // Assign data to the view $this->icons = $this->get('Icons'); $this->contributors = ComponentbuilderHelper::getContributors(); $this->github = $this->get('Github'); $this->readme = $this->get('Readme'); $this->wiki = $this->get('Wiki'); $this->noticeboard = $this->get('Noticeboard'); // Set the toolbar $this->addToolBar(); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }