当前位置: 首页>>代码示例>>PHP>>正文


PHP ADODB_Active_Record::__construct方法代码示例

本文整理汇总了PHP中ADODB_Active_Record::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ADODB_Active_Record::__construct方法的具体用法?PHP ADODB_Active_Record::__construct怎么用?PHP ADODB_Active_Record::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ADODB_Active_Record的用法示例。


在下文中一共展示了ADODB_Active_Record::__construct方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 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;
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:7,代码来源:SupportingDocEntity.php

示例2: __construct

 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');
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:7,代码来源:User.php

示例3: __construct

 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';
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:8,代码来源:Geometry.php

示例4: __construct

 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();
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:9,代码来源:DomainEntity.php

示例5: __construct

 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' ) ;
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:6,代码来源:SupportingDocs.php

示例6: __construct

 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('mt_vocab', $pkey, $db, $options);
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:4,代码来源:MtTerms.php

示例7: __construct

 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct($table, $pkey, $db, $options);
     $this->belongsTo('user', 'username', 'username');
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:5,代码来源:UserField.php

示例8: __construct

 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     $table = 'user_profile';
     parent::__construct($table, $pkey, $db, $options);
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:5,代码来源:UserProfile.php

示例9: __construct

 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';
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:6,代码来源:SaveQuery.php

示例10: __construct

 public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
 {
     parent::__construct('management', $pkey, $db, $options);
     $this->entity = $table;
     $this->keyName = 'entity_type';
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:6,代码来源:Management.php

示例11:

 function __construct()
 {
     parent::__construct('gacl_axo');
 }
开发者ID:GeraldScott,项目名称:OpenEvSys,代码行数:4,代码来源:entities.php

示例12: ADODB_Active_Record

 function ADODB_Active_Record($table = false, $pkeyarr = false, $db = false)
 {
     ADODB_Active_Record::__construct($table, $pkeyarr, $db);
 }
开发者ID:jsan4christ,项目名称:idrc-uganda-site,代码行数:4,代码来源:adodb-active-record.inc.php


注:本文中的ADODB_Active_Record::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。