示例#1
0
 /**
  * @param array $aDomainsIds
  * @return bool
  */
 public function AreDomainsEmpty($aDomainsIds)
 {
     $bIsEmpty = true;
     if ($this->oConnection->Execute($this->oCommandCreator->AreDomainsEmpty($aDomainsIds))) {
         $oRow = $this->oConnection->GetNextRecord();
         if ($oRow) {
             $bIsEmpty = !(0 < (int) $oRow->users_count);
         }
         $this->oConnection->FreeResult();
     }
     $this->throwDbExceptionIfExist();
     return $bIsEmpty;
 }