コード例 #1
0
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->belongsTo('supporting_docs', 'doc_id', 'doc_id');
     $this->belongsTo('supporting_docs_meta', 'doc_id', 'doc_id');
     //$this->_table = $table_name;// 'mlt_event_geographical_term' ;// $table_name;
 }
コード例 #2
0
ファイル: User.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     $table = 'user';
     parent::__construct($table, $pkey, $db, $options);
     $this->belongsTo('user_profile', 'username', 'username');
     $this->hasMany('user_code', 'username');
 }
コード例 #3
0
ファイル: Geometry.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($entity_type = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('mlt_geometry', $pkey, $db, $options);
     if ($entity_type) {
         $this->entity_type = $entity_type;
     }
     $this->keyName = 'entity_type';
 }
コード例 #4
0
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->entity = $table;
     $this->keyName = get_primary_key($this->entity);
     //$this->entity . '_record_number';
     $this->loadMTNames();
     $this->loadUserFieldNames();
 }
コード例 #5
0
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('supporting_docs', $pkey, $db, $options);
     $table = 'supporting_docs';
     //$this->belongsTo( 'supporting_docs_meta' , 'doc_id' , 'doc_id' ) ;
 }
コード例 #6
0
ファイル: MtTerms.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('mt_vocab', $pkey, $db, $options);
 }
コード例 #7
0
ファイル: UserField.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->belongsTo('user', 'username', 'username');
 }
コード例 #8
0
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('string_translations', $pkey, $db, $options);
 }
コード例 #9
0
ファイル: UserProfile.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     $table = 'user_profile';
     parent::__construct($table, $pkey, $db, $options);
 }
コード例 #10
0
ファイル: Log.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('audit_log', $pkey, $db, $options);
 }
コード例 #11
0
ファイル: SaveQuery.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = 'save_query', $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->entity = $table;
     $this->keyName = $this->entity . '_record_number';
 }
コード例 #12
0
ファイル: Management.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('management', $pkey, $db, $options);
     $this->entity = $table;
     $this->keyName = 'entity_type';
 }
コード例 #13
0
ファイル: ClariNotes.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('clari_notes', $pkey, $db, $options);
     $table = 'clari_notes';
 }
コード例 #14
0
ファイル: MtIndex.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     $table = 'mt_index';
     parent::__construct($table, $pkey, $db, $options);
 }
コード例 #15
0
ファイル: entities.php プロジェクト: GeraldScott/OpenEvSys
 function __construct()
 {
     parent::__construct('gacl_axo');
 }
コード例 #16
0
 function ADODB_Active_Record($table = false, $pkeyarr = false, $db = false)
 {
     ADODB_Active_Record::__construct($table, $pkeyarr, $db);
 }
コード例 #17
0
ファイル: MtField.php プロジェクト: GeraldScott/OpenEvSys
 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->belongsTo('mt_vocab', 'vocab_number', 'vocab_number');
     //$this->_table = $table_name;// 'mlt_event_geographical_term' ;// $table_name;
 }