Beispiel #1
0
 /**
  * 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;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
    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();
    }