getModel('help'); $link = $modelHelp->getLink($alias); if ($link) { $link .= "&tmpl=component&lang=".$lang; if ($link) { $this->setRedirect($link); } } $this->display(); } function display() { $document =& JFactory::getDocument(); $viewType = $document->getType(); $viewName = JRequest::getCmd( 'view', $this->getName() ); $view = & $this->getView( $viewName, $viewType, '', array( 'base_path'=>$this->_basePath)); parent::display(); } } ?>