/** * @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); }
public function __refreshCache() { parent::__refreshCache(); RM_User_Profile::getById($this->getId())->__refreshCache(); }