Beispiel #1
0
 /**
  * 构造函数
  *
  * @return Db_Orm
  */
 public static function getOrm()
 {
     $class = get_called_class();
     if (defined($class . '::WHERE_CACHE')) {
         $bWhereCache = $class::WHERE_CACHE;
     }
     return Util_Common::getOrm($class::DB_NAME, $class::TABLE_NAME, $bWhereCache);
 }