public static function getAllProjectVersions(CNabuProject $nb_project)
    {
        $nb_project_id = nb_getMixedValue($nb_project, 'nb_project_id');
        if (is_numeric($nb_project_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_project_version_id',
                'select * '
                . 'from nb_project_version '
               . 'where nb_project_id=%project_id$d',
                array(
                    'project_id' => $nb_project_id
                ),
                $nb_project
            );
        } else {
            $retval = new CNabuProjectVersionList();
        }
        
        return $retval;
    }
public static function getAllProjectVersions(CNabuProject $nb_project)
    {
        $nb_project_id = nb_getMixedValue($nb_project, 'nb_project_id');
        if (is_numeric($nb_project_id)) {
            $retval = forward_static_call(
            array(get_called_class(), 'buildObjectListFromSQL'),
                'nb_project_version_id',
                'select * '
                . 'from nb_project_version '
               . 'where nb_project_id=%project_id$d',
                array(
                    'project_id' => $nb_project_id
                ),
                $nb_project
            );
        } else {
            $retval = new CNabuProjectVersionList();
        }
        
        return $retval;
    }
public static function getAllProjectVersions ( CNabuProject $ nb_project ) { $ nb_project_id = nb_getMixedValue ( $ nb_project , 'nb_project_id' ) ; if ( is_numeric ( $ nb_project_id ) ) { $ retval = forward_static_call ( array ( get_called_class ( ) , 'buildObjectListFromSQL' ) , 'nb_project_version_id' , 'select * ' . 'from nb_project_version ' . 'where nb_project_id=%project_id$d' , array ( 'project_id' => $ nb_project_id ) , $ nb_project ) ; } else { $ retval = new CNabuProjectVersionList ( ) ; } return $ retval ; }
Get all items in the storage as an associative array where the field 'nb_project_version_id' is the index, and
each value is an instance of class CNabuProjectVersionBase.
@param CNabuProject $nb_project The CNabuProject instance that owns the Project Version List
@return mixed Returns and array with all items.
Get all items in the storage as an associative array where the field nb_project_version_id is the index and each value is an instance of class CNabuProjectVersionBase .