/** * Retrieves information about account wich is specified as default. Email address is used for look up. * The method is especially useful in case if your product configuration allows for adding multiple accounts per user. * * @param string $sEmail Email address associated with the account. * * @return CAccount */ public function getAccountByEmail($sEmail) { return $this->_getAccountBySql($this->oCommandCreator->getAccountByEmailQuery($sEmail)); }