Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     // Ensure that the user is logged in
     EB::requireLogin();
     parent::__construct();
 }