public function getItems($force = false)
    {
        if (!$this->isBuiltIn() && ($this->nb_medioteca_item_list->isEmpty() || $force)) {
            $this->nb_medioteca_item_list = CNabuMediotecaItem::getItemsForMedioteca($this);
        }

        return $this->nb_medioteca_item_list;
    }
public function getItems($force = false)
    {
        if (!$this->isBuiltIn() && ($this->nb_medioteca_item_list->isEmpty() || $force)) {
            $this->nb_medioteca_item_list = CNabuMediotecaItem::getItemsForMedioteca($this);
        }

        return $this->nb_medioteca_item_list;
    }
public function getItems ( $ force = false ) { if ( ! $ this -> isBuiltIn ( ) && ( $ this -> nb_medioteca_item_list -> isEmpty ( ) || $ force ) ) { $ this -> nb_medioteca_item_list = CNabuMediotecaItem :: getItemsForMedioteca ( $ this ) ; } return $ this -> nb_medioteca_item_list ; }
Gets all items in the Medioteca.
@param bool $force If true, clears current items list and retrieves a new list.
@return CNabuMediotecaItemList Returns a list object with avaliable items.
Gets all items in the Medioteca .