Beispiel #1
0
 /**
  * 
  * @param $tpl
  * @return unknown_type
  */
 function display($tpl = null, $perform = true)
 {
     $layout = $this->getLayout();
     switch (strtolower($layout)) {
         case "view":
             $this->_form($tpl);
             break;
         case "form":
             $this->_form($tpl);
             break;
         case "default":
         default:
             $this->_default($tpl);
             break;
     }
     parent::display($tpl);
 }
Beispiel #2
0
 /**
  * 
  * @param $tpl
  * @return unknown_type
  */
 function display($tpl = null, $perform = true)
 {
     $layout = $this->getLayout();
     switch (strtolower($layout)) {
         case "email":
         case "print":
         case "view":
             $this->_form($tpl);
             break;
         case "form":
             JRequest::setVar('hidemainmenu', '1');
             $this->_form($tpl);
             break;
         case "default":
         default:
             $this->_default($tpl);
             break;
     }
     parent::display($tpl);
 }
Beispiel #3
0
 /**
  * Displays a layout file
  *
  * @param unknown_type $tpl
  * @return unknown_type
  */
 function display($tpl = null)
 {
     parent::display($tpl);
 }