static function addHZAccountDao($data = array()) { $orm = new ORM_RentORM('users_account_mapping_new'); foreach ($data as $field => $value) { $orm->{$field} = $value; } return $orm->addData(); }
public static function get_ajk_from_mapping($intBrokerId) { $objRentORM = new ORM_RentORM('broker_mapping'); return current($objRentORM->getList("`brokerid`=? limit 1", array($intBrokerId))); }
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(); }
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; }