コード例 #1
0
ファイル: helpers.php プロジェクト: TheOddLinguist/toolbox
 public function __construct()
 {
     parent::__construct(array('table_name' => 'test_author'));
     $this->has_many('books');
 }
コード例 #2
0
ファイル: class.project.php プロジェクト: nepageeks/champion
 public function __construct()
 {
     parent::__construct();
     $this->has_many('photos', array('order_by' => 'position'));
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->belongs_to('category', array('class' => 'CmsCategory'));
 }
コード例 #5
0
ファイル: class.contact.php プロジェクト: nepageeks/champion
 function __construct()
 {
     parent::__construct(array('table_name' => 'contact'));
 }
コード例 #6
0
ファイル: class.user.php プロジェクト: TheOddLinguist/toolbox
 public function __construct()
 {
     parent::__construct();
     $this->config->ignore[] = 'role';
 }
コード例 #7
0
ファイル: class.photo.php プロジェクト: nepageeks/champion
 public function __construct()
 {
     parent::__construct();
     $this->belongs_to('project');
 }
コード例 #8
0
ファイル: helpers.php プロジェクト: TheOddLinguist/toolbox
 public function __construct()
 {
     parent::__construct(array('table_name' => 'test_norm_account'));
     $this->belongs_to('author');
 }