public static function getAllSiteTargetSections(CNabuMedioteca $nb_medioteca)
    {
        $nb_medioteca_id = nb_getMixedValue($nb_medioteca, 'nb_medioteca_id');
        if (is_numeric($nb_medioteca_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_site_target_section_id',
                'select * '
                . 'from nb_site_target_section '
               . 'where nb_medioteca_id=%medioteca_id$d',
                array(
                    'medioteca_id' => $nb_medioteca_id
                ),
                $nb_medioteca
            );
        } else {
            $retval = new CNabuSiteTargetSectionList();
        }
        
        return $retval;
    }
public static function getAllSiteTargetSections(CNabuMedioteca $nb_medioteca)
    {
        $nb_medioteca_id = nb_getMixedValue($nb_medioteca, 'nb_medioteca_id');
        if (is_numeric($nb_medioteca_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_site_target_section_id',
                'select * '
                . 'from nb_site_target_section '
               . 'where nb_medioteca_id=%medioteca_id$d',
                array(
                    'medioteca_id' => $nb_medioteca_id
                ),
                $nb_medioteca
            );
        } else {
            $retval = new CNabuSiteTargetSectionList();
        }
        
        return $retval;
    }
public static function getAllSiteTargetSections ( CNabuMedioteca $ nb_medioteca ) { $ nb_medioteca_id = nb_getMixedValue ( $ nb_medioteca , 'nb_medioteca_id' ) ; if ( is_numeric ( $ nb_medioteca_id ) ) { $ retval = forward_static_call ( array ( get_called_class ( ) , 'buildObjectListFromSQL' ) , 'nb_site_target_section_id' , 'select * ' . 'from nb_site_target_section ' . 'where nb_medioteca_id=%medioteca_id$d' , array ( 'medioteca_id' => $ nb_medioteca_id ) , $ nb_medioteca ) ; } else { $ retval = new CNabuSiteTargetSectionList ( ) ; } return $ retval ; }
Get all items in the storage as an associative array where the field 'nb_site_target_section_id' is the index,
and each value is an instance of class CNabuSiteTargetSectionBase.
@param CNabuMedioteca $nb_medioteca The CNabuMedioteca instance of the Medioteca that owns the Site Target
Section List.
@return mixed Returns and array with all items.
Get all items in the storage as an associative array where the field nb_site_target_section_id is the index and each value is an instance of class CNabuSiteTargetSectionBase .