本文整理汇总了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;
}
示例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');
}
示例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';
}
示例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();
}
示例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' ) ;
}
示例6: __construct
public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
{
parent::__construct('mt_vocab', $pkey, $db, $options);
}
示例7: __construct
public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
{
parent::__construct($table, $pkey, $db, $options);
$this->belongsTo('user', 'username', 'username');
}
示例8: __construct
public function __construct($table = false, $pkeyarr = false, $db = false, $options = array())
{
$table = 'user_profile';
parent::__construct($table, $pkey, $db, $options);
}
示例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';
}
示例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';
}
示例11:
function __construct()
{
parent::__construct('gacl_axo');
}
示例12: ADODB_Active_Record
function ADODB_Active_Record($table = false, $pkeyarr = false, $db = false)
{
ADODB_Active_Record::__construct($table, $pkeyarr, $db);
}