コード例 #1
0
ファイル: controller.php プロジェクト: ForAEdesWeb/AEW3
 /**
  * Method to display a view.
  *
  * @param    boolean    $cachable     If true, the view output will be cached
  * @param    array      $urlparams    An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}.
  *
  * @return   JController   This object to support chaining.
  * @since    1.5
  */
 public function display($cachable = false, $urlparams = false)
 {
     // Load the submenu.
     WebgalleryHelper::addSubmenu(JRequest::getCmd('view', 'items'));
     $view = JRequest::getCmd('view', 'items');
     JRequest::setVar('view', $view);
     parent::display();
     return $this;
 }
コード例 #2
0
ファイル: controller.php プロジェクト: ForAEdesWeb/AEW3
 /**
  * Method to display a view.
  *
  * @param    boolean    $cachable     If true, the view output will be cached
  * @param    array      $urlparams    An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}.
  *
  * @return    JController   This object to support chaining.
  * @since    1.5
  */
 public function display($cachable = false, $urlparams = false)
 {
     // Load the submenu.
     WebgalleryHelper::addSubmenu(JRequest::getCmd('view', 'items'));
     $view = JRequest::getCmd('view', 'items');
     JRequest::setVar('view', $view);
     parent::display();
     // Debug
     $doc = JFactory::getDocument();
     if ((AKDEBUG || JDEBUG) && $doc->getType() == 'html') {
         echo '<hr style="clear:both;" />';
         echo AKHelper::_('system.renderProfiler', 'WindWalker');
     }
     return $this;
 }