本文整理匯總了PHP中DataObject::get_class_db_config方法的典型用法代碼示例。如果您正苦於以下問題:PHP DataObject::get_class_db_config方法的具體用法?PHP DataObject::get_class_db_config怎麽用?PHP DataObject::get_class_db_config使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DataObject
的用法示例。
在下文中一共展示了DataObject::get_class_db_config方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $link_db_config;
if (!isset($link_db_config)) {
$link_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_links', 'dbprefix' => 'link_', 'dbIDname' => 'link_ID'));
}
return $link_db_config;
}
示例2: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $message_db_config;
if (!isset($message_db_config)) {
$message_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_messaging__message', 'dbprefix' => 'msg_', 'dbIDname' => 'msg_ID'));
}
return $message_db_config;
}
示例3: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $comment_db_config;
if (!isset($comment_db_config)) {
$comment_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_comments', 'dbprefix' => 'comment_', 'dbIDname' => 'comment_ID'));
}
return $comment_db_config;
}
示例4: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $user_db_config;
if (!isset($user_db_config)) {
$user_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_users', 'dbprefix' => 'user_', 'dbIDname' => 'user_ID'));
}
return $user_db_config;
}
示例5: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $thread_db_config;
if (!isset($thread_db_config)) {
$thread_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_messaging__thread', 'dbprefix' => 'thrd_', 'dbIDname' => 'thrd_ID'));
}
return $thread_db_config;
}
示例6: array
/**
* Get this class db table config params
*
* @return array
*/
static function get_class_db_config()
{
static $file_db_config;
if (!isset($file_db_config)) {
$file_db_config = array_merge(parent::get_class_db_config(), array('dbtablename' => 'T_files', 'dbprefix' => 'file_', 'dbIDname' => 'file_ID'));
}
return $file_db_config;
}