示例#1
0
 /**
  * @param $refid
  * @return Pap_Affiliates_User
  * @throws Gpf_Exception
  */
 private static function loadFromRefid($refid)
 {
     $user = new Pap_Affiliates_User();
     $user->setRefId($refid);
     $user->loadFromData(array(Pap_Db_Table_Users::REFID));
     return $user;
 }