Ejemplo n.º 1
0
 /**
  * Obtains list of accounts which are specified as default.
  * 
  * @return array | false
  */
 public function getDefaultAccountList()
 {
     $aUsers = false;
     if ($this->oConnection->Execute($this->oCommandCreator->getDefaultAccountListQuery())) {
         $oRow = null;
         $aUsers = array();
         while (false !== ($oRow = $this->oConnection->GetNextRecord())) {
             $aUsers[$oRow->id_acct] = $oRow;
         }
     }
     $this->throwDbExceptionIfExist();
     return $aUsers;
 }