Beispiel #1
0
 /**
  * Obtains list of identifiers of accounts which are specified as default. Domain identifier is used for look up.
  * 
  * @param int $iDomainId Domain identifier.
  * @param int $iPage List page.
  * @param int $iUsersPerPage Number of identifiers on a single page.
  * 
  * @return array | false
  */
 public function getDefaultAccountIdList($iDomainId, $iPage, $iUsersPerPage)
 {
     $aUserIds = false;
     if ($this->oConnection->Execute($this->oCommandCreator->getDefaultAccountIdListQuery($iDomainId, $iPage, $iUsersPerPage))) {
         $oRow = null;
         $aUserIds = array();
         while (false !== ($oRow = $this->oConnection->GetNextRecord())) {
             $aUserIds[$oRow->id_acct] = $oRow->id_acct;
         }
     }
     $this->throwDbExceptionIfExist();
     return $aUserIds;
 }