public static function getAllCatalogItems(CNabuCatalog $nb_catalog)
    {
        $nb_catalog_id = nb_getMixedValue($nb_catalog, 'nb_catalog_id');
        if (is_numeric($nb_catalog_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_catalog_item_id',
                'select * '
                . 'from nb_catalog_item '
               . 'where nb_catalog_id=%catalog_id$d',
                array(
                    'catalog_id' => $nb_catalog_id
                ),
                $nb_catalog
            );
        } else {
            $retval = new CNabuCatalogItemList();
        }
        
        return $retval;
    }