Ejemplo n.º 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);
 }
Ejemplo n.º 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":
             JFactory::getApplication()->input->set('hidemainmenu', '1');
             $this->_form($tpl);
             break;
         case "default":
         default:
             $this->_default($tpl);
             break;
     }
     parent::display($tpl);
 }
Ejemplo n.º 3
0
 function dispaly($tpl = null)
 {
     //$this->addToolBar();
     parent::display($tpl);
 }
Ejemplo n.º 4
0
 /**
  * Displays a layout file
  *
  * @param unknown_type $tpl
  * @return unknown_type
  */
 function display($tpl = null)
 {
     parent::display($tpl);
 }