예제 #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
 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);
 }