コード例 #1
0
ファイル: Crud.php プロジェクト: moiseh/codegen
 public function __construct($properties = array())
 {
     parent::__construct($properties);
     if (!$this->table) {
         throw new \Exception(t('CRUD table not defined'));
     }
     $this->form = new \Meta\Form\Crud();
     $this->view = new \Meta\View\Crud();
 }
コード例 #2
0
ファイル: AccessDenied.php プロジェクト: moiseh/codegen
 public function __construct($properties = array())
 {
     $this->title = t('Access denied');
     $this->path = 'page_denied';
     parent::__construct($properties);
 }
コード例 #3
0
ファイル: NotFound.php プロジェクト: moiseh/codegen
 public function __construct($properties = array())
 {
     $this->title = t('Page not found');
     $this->path = 'error404';
     parent::__construct($properties);
 }