public function getTags(bool $force = false)
    {
        if ($this->nb_catalog_tag_list->isEmpty() || $force) {
            $this->nb_catalog_tag_list->clear();
            $this->nb_catalog_tag_list->merge(
                CNabuCatalogTag::getAllCatalogTags($this)
            );
        }

        return $this->nb_catalog_tag_list;
    }
public function getTags(bool $force = false)
    {
        if ($this->nb_catalog_tag_list->isEmpty() || $force) {
            $this->nb_catalog_tag_list->clear();
            $this->nb_catalog_tag_list->merge(
                CNabuCatalogTag::getAllCatalogTags($this)
            );
        }

        return $this->nb_catalog_tag_list;
    }
public function getTags ( bool $ force = false ) { if ( $ this -> nb_catalog_tag_list -> isEmpty ( ) || $ force ) { $ this -> nb_catalog_tag_list -> clear ( ) ; $ this -> nb_catalog_tag_list -> merge ( CNabuCatalogTag :: getAllCatalogTags ( $ this ) ) ; } return $ this -> nb_catalog_tag_list ; }
Gets all tag instances of the Catalog.
@param bool $force If true, then reloads the list from the storage.
@return CNabuCatalogTagList Returns the list of tag instances.
Gets all tag instances of the Catalog .