/** * Passes the e_view parameter that Joomla sends in the request for the editor name. * * @see KControllerResource::getView() */ public function getView() { $view = parent::getView(); if ($view) { $view->editor = $this->getRequest()->query->e_name; } return $view; }
public function getView() { $view = parent::getView(); $request = $this->getRequest(); if ($request->query->callback && $request->query->layout === 'select') { $view->callback = $request->query->callback; } if ($request->query->paths && $request->query->layout === 'form') { $view->paths = $request->query->paths; } return $view; }
public function getView() { if(!$this->_view instanceof KViewInterface) { //Get the view $view = parent::getView(); //Set the model in the view $view->setModel($this->getModel()); } return parent::getView(); }