public static function getAllSiteMaps(CNabuSite $nb_site)
    {
        $nb_site_id = nb_getMixedValue($nb_site, 'nb_site_id');
        if (is_numeric($nb_site_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_site_map_id',
                'select * '
                . 'from nb_site_map '
               . 'where nb_site_id=%site_id$d',
                array(
                    'site_id' => $nb_site_id
                ),
                $nb_site
            );
        } else {
            $retval = new CNabuSiteMapList();
        }
        
        return $retval;
    }
public static function getAllSiteMaps(CNabuSite $nb_site)
    {
        $nb_site_id = nb_getMixedValue($nb_site, 'nb_site_id');
        if (is_numeric($nb_site_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_site_map_id',
                'select * '
                . 'from nb_site_map '
               . 'where nb_site_id=%site_id$d',
                array(
                    'site_id' => $nb_site_id
                ),
                $nb_site
            );
        } else {
            $retval = new CNabuSiteMapList();
        }
        
        return $retval;
    }
public static function getAllSiteMaps ( CNabuSite $ nb_site ) { $ nb_site_id = nb_getMixedValue ( $ nb_site , 'nb_site_id' ) ; if ( is_numeric ( $ nb_site_id ) ) { $ retval = forward_static_call ( array ( get_called_class ( ) , 'buildObjectListFromSQL' ) , 'nb_site_map_id' , 'select * ' . 'from nb_site_map ' . 'where nb_site_id=%site_id$d' , array ( 'site_id' => $ nb_site_id ) , $ nb_site ) ; } else { $ retval = new CNabuSiteMapList ( ) ; } return $ retval ; }
Get all items in the storage as an associative array where the field 'nb_site_map_id' is the index, and each
value is an instance of class CNabuSiteMapBase.
@param CNabuSite $nb_site The CNabuSite instance of the Site that owns the Site Map List.
@return mixed Returns and array with all items.
Get all items in the storage as an associative array where the field nb_site_map_id is the index and each value is an instance of class CNabuSiteMapBase .