public function getMessagings($force = false)
    {
        if ($this->nb_messaging_list->isEmpty() || $force) {
            $this->nb_messaging_list->clear();
            $this->nb_messaging_list->merge(CNabuMessaging::getAllMessagings($this));
        }

        return $this->nb_messaging_list->getItems();
    }
public function getMessagings($force = false)
    {
        if ($this->nb_messaging_list->isEmpty() || $force) {
            $this->nb_messaging_list->clear();
            $this->nb_messaging_list->merge(CNabuMessaging::getAllMessagings($this));
        }

        return $this->nb_messaging_list->getItems();
    }
public function getMessagings ( $ force = false ) { if ( $ this -> nb_messaging_list -> isEmpty ( ) || $ force ) { $ this -> nb_messaging_list -> clear ( ) ; $ this -> nb_messaging_list -> merge ( CNabuMessaging :: getAllMessagings ( $ this ) ) ; } return $ this -> nb_messaging_list -> getItems ( ) ; }
Gets available Messaging instances in the list.
@param bool $force If true, foces to merge complete list from the storage.
@return array Returns an associative array where the index is the ID of each Catalog and the value
is the instance.
Gets available Messaging instances in the list .