예제 #1
0
파일: storage.php 프로젝트: Git-Host/email
 /**
  * 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));
 }