예제 #1
0
 public function __construct($options = array())
 {
     $input = JFactory::getApplication()->input;
     $layout = $input->get('layout', '', 'word');
     if ($layout == 'listings') {
         $this->paramsPrefix = 'category';
     }
     parent::__construct($options);
 }
예제 #2
0
 public function __construct()
 {
     // Ensure that the user is logged in
     EB::requireLogin();
     parent::__construct();
 }