示例#1
0
 /**
  * Retrieves information on WebMail Pro account. Account ID is used for look up.
  * 
  * @param int $mAccountId Account identifier.
  * @param mixed $mAccountId
  * @param bool $bIdIsMd5 Default value is **false**.
  * 
  * @return CAccount
  */
 public function getAccountById($mAccountId, $bIdIsMd5 = false)
 {
     if (!$bIdIsMd5) {
         $mAccountId = (int) $mAccountId;
     }
     return $this->_getAccountBySql($this->oCommandCreator->getAccountByIdQuery($mAccountId, $bIdIsMd5));
 }