public function getTaxonomies(bool $force = false)
    {
        if ($this->nb_catalog_taxonomy_list->isEmpty() || $force) {
            $this->nb_catalog_taxonomy_list->clear();
            $this->nb_catalog_taxonomy_list->merge(
                CNabuCatalogTaxonomy::getAllCatalogTaxonomies($this)
            );
        }

        return $this->nb_catalog_taxonomy_list;
    }
public function getTaxonomies(bool $force = false)
    {
        if ($this->nb_catalog_taxonomy_list->isEmpty() || $force) {
            $this->nb_catalog_taxonomy_list->clear();
            $this->nb_catalog_taxonomy_list->merge(
                CNabuCatalogTaxonomy::getAllCatalogTaxonomies($this)
            );
        }

        return $this->nb_catalog_taxonomy_list;
    }
public function getTaxonomies ( bool $ force = false ) { if ( $ this -> nb_catalog_taxonomy_list -> isEmpty ( ) || $ force ) { $ this -> nb_catalog_taxonomy_list -> clear ( ) ; $ this -> nb_catalog_taxonomy_list -> merge ( CNabuCatalogTaxonomy :: getAllCatalogTaxonomies ( $ this ) ) ; } return $ this -> nb_catalog_taxonomy_list ; }
Gets all taxonomy instances of the Catalog.
@param bool $force If true, then reloads the list from the storage.
@return CNabuCatalogTaxonomyList Returns the list of taxonomy instances.
Gets all taxonomy instances of the Catalog .