Пример #1
0
 /**
  * @param CAccount $oAccount
  * @param int $iContactType = EContactType::Global_
  * @return array
  */
 public function ConvertedContactLocalIdCollection($oAccount, $iContactType = EContactType::Global_)
 {
     $aResult = array();
     if ($this->oConnection->Execute($this->oCommandCreator->ConvertedContactLocalIdCollection($oAccount, $iContactType))) {
         $oRow = $this->oConnection->GetNextRecord();
         if ($oRow) {
             $aResult[(int) $oRow->id_addr] = (string) $oRow->type_id;
         }
         $this->oConnection->FreeResult();
     }
     return $aResult;
 }