Пример #1
0
 public function display($cachable = false, $urlparams = array())
 {
     if (JRequest::getCmd('view') == '') {
         JRequest::setVar('view', 'main');
     }
     parent::display($cachable, $urlparams);
 }
Пример #2
0
 public function edit()
 {
     JRequest::setVar('layout', 'form');
     parent::display();
 }