Пример #1
0
 static function addHZAccountDao($data = array())
 {
     $orm = new ORM_RentORM('users_account_mapping_new');
     foreach ($data as $field => $value) {
         $orm->{$field} = $value;
     }
     return $orm->addData();
 }
Пример #2
0
 public static function get_ajk_from_mapping($intBrokerId)
 {
     $objRentORM = new ORM_RentORM('broker_mapping');
     return current($objRentORM->getList("`brokerid`=? limit 1", array($intBrokerId)));
 }
Пример #3
0
 public function get_area_byid($id, $cacheRow_flg = false, $cacheList_flg = false)
 {
     $_objRentORM = new ORM_RentORM('area');
     $result = current($_objRentORM->getList("`id`=? and `typeflag`='1' limit 1", array($id), $cacheRow_flg, $cacheList_flg));
     return $result ? $result : array();
 }
Пример #4
0
 public static function get_price_list_by_cityid($cityid)
 {
     $where = "city_id = ? AND flg <> 0";
     $_objRentORM = new ORM_RentORM('zf_price_choice');
     $info = $_objRentORM->getList($where, array($cityid), true, true);
     return $info;
 }