示例#1
0
 /**
  * @static
  * @param RM_User_Profile $profile
  * @return Application_Model_User_Account[]
  */
 public static function getConnectedAccounts(RM_User_Profile $profile)
 {
     $where = new RM_Query_Where();
     $where->add('idUser', RM_Query_Where::EXACTLY, $profile->getId());
     return static::getList($where);
 }
示例#2
0
 public function __refreshCache()
 {
     parent::__refreshCache();
     RM_User_Profile::getById($this->getId())->__refreshCache();
 }