Ejemplo n.º 1
0
 /**
  * 执行删除酷汇表中相关信息
  */
 public static function delKuhuiTestData($paramArr)
 {
     $options = array('where' => '');
     if (is_array($paramArr)) {
         $options = array_merge($options, $paramArr);
     }
     extract($options);
     API_Dao::delItem(array('dbName' => 'API_Db_Kuhui', 'tblName' => 'kh_test', 'where' => $where, 'debug' => ''));
     return true;
 }
Ejemplo n.º 2
0
 /**
  * 初始化数据
  */
 public static function init($paramArr)
 {
     $options = array('dbName' => 'Db_UserData', 'tblName' => '');
     if (is_array($paramArr)) {
         $options = array_merge($options, $paramArr);
     }
     extract($options);
     self::$initDbName = $dbName;
     self::$initTblName = $tblName;
     return true;
 }