public function getIContacts($force = false)
     {
         if ($this->nb_icontact_list->isEmpty() || $force) {
             $this->nb_icontact_list->clear();
             $this->nb_icontact_list->merge(CNabuIContact::getAlliContacts($this));
         }

         return $this->nb_icontact_list->getItems();
     }
public function getIContacts($force = false)
     {
         if ($this->nb_icontact_list->isEmpty() || $force) {
             $this->nb_icontact_list->clear();
             $this->nb_icontact_list->merge(CNabuIContact::getAlliContacts($this));
         }

         return $this->nb_icontact_list->getItems();
     }
public function getIContacts ( $ force = false ) { if ( $ this -> nb_icontact_list -> isEmpty ( ) || $ force ) { $ this -> nb_icontact_list -> clear ( ) ; $ this -> nb_icontact_list -> merge ( CNabuIContact :: getAlliContacts ( $ this ) ) ; } return $ this -> nb_icontact_list -> getItems ( ) ; }
Gets available i-Contact instances in the list.
@param bool $force If true, forces to merge complete list from the storage.
@return array Returns an associative array where the index is the ID of each i-Contact and the value
is the instance.
Gets available i - Contact instances in the list .