コード例 #1
0
ファイル: Controller.php プロジェクト: Bladefidz/Simplex
 public function __construct()
 {
     parent::__construct();
     // Instances from core
     $this->view = new \Core\View();
     $this->model = new \Core\Model();
     $this->load = new \Core\Loader();
     $this->uri = new \Core\Uri();
     // Instances from libraries
     $this->sessionHandler = new \Libraries\SessionHandler();
     // Instances from helpers
     $this->formHelper = new \Helpers\FormHelper();
 }
コード例 #2
0
 /**
  * Initialize this backend.
  */
 public function __construct()
 {
     parent::__construct();
     $this->name = 'backend';
 }
コード例 #3
0
ファイル: Controller.php プロジェクト: sikamy/sephy-framework
 public function __construct()
 {
     parent::__construct();
 }