public function __construct() { parent::__construct(); $app = \Cobalt\Container::fetch('app'); $this->view = $app->input->get('view'); $this->layout = $app->input->get('layout', 'list'); }
/** * Constructor */ public function __construct() { parent::__construct(); $app = \Cobalt\Container::fetch('app'); $this->_view = $app->input->get('view'); $this->_layout = str_replace('_filter', '', $app->input->get('layout')); }
/** * Constructor */ public function __construct() { parent::__construct(); $app = \Cobalt\Container::fetch('app'); $this->_view = $this->app->input->get('view'); $this->_layout = str_replace('_filter', '', $this->app->input->get('layout')); $this->_user_id = $app->getUser()->get('id'); $this->export = $this->app->input->getInt('export'); }
/** * * * @access public * @return void */ public function __construct() { parent::__construct(); /**Initialize Configurations**/ $this->_getConfig(); }