Example #1
0
 /**
  * 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;
 }
Example #2
0
 /**
  * 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;
 }
Example #3
0
 /**
  * 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;
 }
Example #4
0
 /**
  * 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;
 }
Example #5
0
 /**
  * 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;
 }
Example #6
0
 /**
  * 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;
 }