Exemplo n.º 1
0
 /**
  * Construct this object by extending the base Controller class 
  */
 public function __construct()
 {
     parent::__construct();
     // get project url
     $this->data['project_url'] = Router::getProjectUrl();
     $this->data['current_url'] = Router::getUrl();
 }
 /**
  * Construct this object by extending the base Controller class and view
  */
 public function __construct()
 {
     // construct Controller
     parent::__construct();
     // Parse default data about app
     $this->data['App'] = $this->App;
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     //$this->data['App'] = $this->App;
     $this->data['Site'] = $this->App->get('config')->site;
     $this->data['Theme'] = $this->App->get('theme')->Locale->{APPLOCALE};
     $this->data['Template Files'] = $this->App->get('theme')->{'Template Files'};
     $this->data['Custom Files'] = $this->App->get('theme')->{'Custom Files'};
 }
Exemplo n.º 4
0
 /**
  * Construct this object by extending the basic Controller class 
  */
 public function __construct()
 {
     parent::__construct();
     // set urls
     $this->data['project_url'] = Router::getProjectUrl();
     $this->data['current_url'] = Router::getUrl();
     $this->header = PATH_APP_VIEWS . 'auth/assets/inc/_header';
     $this->content = PATH_APP_VIEWS . 'auth/';
     $this->footer = PATH_APP_VIEWS . 'auth/assets/inc/_footer';
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     // construct controller
     //
     //// setup admin
     //		$this->bootstrap();
     //
     //// check login
     //		$this->checkLogin();
     //
     //// check permissions
     ////		$this->checkRole('broker');
     //
     //		$this->setupAdminMenus();
 }
 public function __construct()
 {
     // we instantiate our parent controller class
     parent::__construct();
 }
Exemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Construct this object by extending the base Controller class and view
  */
 public function __construct()
 {
     // construct Controller
     parent::__construct();
     // Parse default data about app
 }
 /**
  * Construct this object by extending the base Controller class and view
  */
 public function __construct()
 {
     // construct Controller
     parent::__construct();
 }