Exemplo n.º 1
0
 /**
  * 获取一条求购信息
  * @param array $p_arrParam
  * @param blooean $p_bolStrictFreshCache
  */
 public static function getProNeed($p_arrParam, $p_bolStrictFreshCache = true)
 {
     $objORM = new ORM_UserORM('ajk_proneed');
     foreach ($p_arrParam as $strKey => $mixValue) {
         $objORM->{$strKey} = $mixValue;
     }
     return $objORM->getRow($p_bolStrictFreshCache);
 }
Exemplo n.º 2
0
 public static function getOneDataById($id)
 {
     $orm = new ORM_UserORM('broker_profile_photo');
     $orm->ID = $id;
     return $orm->getRow();
 }
Exemplo n.º 3
0
 /**
  * 得到业主委托的房源信息
  * @param int $p_intPropertyID
  * @return array
  */
 static function getCommissionProperty($p_intPropertyID)
 {
     apf_require_class('ORM_UserORM');
     $objORM = new ORM_UserORM('commission_property');
     $objORM->PROPERTYID = $p_intPropertyID;
     return $objORM->getRow();
 }
Exemplo n.º 4
0
 /**
  * 获取一条申请的合作信息
  * caoyang 2011.8.30
  */
 public static function getOpenOrderRequest($p_arrParam, $p_bolStrictFreshCache = false)
 {
     $objORM = new ORM_UserORM('ajk_openorder_request');
     foreach ($p_arrParam as $strKey => $mixValue) {
         $objORM->{$strKey} = $mixValue;
     }
     return $objORM->getRow($p_bolStrictFreshCache);
 }
Exemplo n.º 5
0
 static function getMedalInfoById($medal_id)
 {
     $objORM = new ORM_UserORM("broker_medal_type");
     $objORM->ID = $medal_id;
     return $objORM->getRow();
 }
Exemplo n.º 6
0
 public static function getOneDataById($id)
 {
     $orm = new ORM_UserORM('ajk_broker_opinion');
     $orm->ID = $id;
     return $orm->getRow();
 }