예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $app = \Cobalt\Container::fetch('app');
     $this->view = $app->input->get('view');
     $this->layout = $app->input->get('layout', 'list');
 }
예제 #2
0
 /**
  * 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'));
 }
예제 #3
0
 /**
  * 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');
 }
예제 #4
0
 /**
  *
  *
  * @access  public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /**Initialize Configurations**/
     $this->_getConfig();
 }