コード例 #1
0
ファイル: UserController.php プロジェクト: bsmrs/sigec
 public function __construct()
 {
     parent::__construct();
     $this->view = new View();
     $this->view->assign('action', '');
     $this->view->assign('controller', 'User');
     $this->view->assign('username', $this->user->getName());
     $this->user->setPdo(new \PDO(DB_DSN, DB_USER, DB_PASS));
 }
コード例 #2
0
ファイル: MainController.php プロジェクト: bsmrs/sigec
 public function __construct()
 {
     parent::__construct();
 }