Esempio n. 1
0
 /**
  * @param int $iUserId
  * @param int $iOffset
  * @param int $iRequestLimit
  * @return bool | array
  */
 public function GetContactItemsWithoutOrder($iUserId, $iOffset, $iRequestLimit)
 {
     $mContactsItems = false;
     if ($this->oConnection->Execute($this->oCommandCreator->GetContactItemsWithoutOrder($iUserId, $iOffset, $iRequestLimit))) {
         $mContactsItems = array();
         while (false !== ($oRow = $this->oConnection->GetNextRecord())) {
             $oContactItem = new CContactListItem();
             $oContactItem->InitByDbRowWithType('contact', $oRow);
             $mContactsItems[] = $oContactItem;
             unset($oContactItem);
         }
     }
     return $mContactsItems;
 }