/**
  * @param string $sEmail
  * @return string
  */
 public function GetAccountUsedSpaceInKBytesByEmail($sEmail)
 {
     return parent::GetAccountUsedSpaceInKBytesByEmail($sEmail) . ' LIMIT 1';
 }
示例#2
0
 /**
  * Purges all entries in safelist of particular user.
  * 
  * @param string $iUserId User identifier.
  * 
  * @return bool
  */
 public function clearSafetySenders($iUserId)
 {
     $bResult = $this->oConnection->Execute($this->oCommandCreator->clearSafetySendersQuery($iUserId));
     $this->throwDbExceptionIfExist();
     return $bResult;
 }
示例#3
0
 /**
  * Returns query-string for obtaining account used space in Kb.
  * 
  * @param string $sEmail Email address associated with the account.
  * 
  * @return string
  */
 public function getAccountUsedSpaceQuery($sEmail)
 {
     return parent::getAccountUsedSpaceQuery($sEmail) . ' LIMIT 1';
 }