コード例 #1
0
ファイル: view.html.php プロジェクト: annggeel/tienda
 /**
  * 
  * @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);
 }
コード例 #2
0
ファイル: view.html.php プロジェクト: annggeel/tienda
 /**
  * 
  * @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);
 }
コード例 #3
0
ファイル: view.html.php プロジェクト: annggeel/tienda
 /**
  * Displays a layout file
  *
  * @param unknown_type $tpl
  * @return unknown_type
  */
 function display($tpl = null)
 {
     parent::display($tpl);
 }