kernel/private/classes/ezcontentobjectstategroup.php
public static function limitationValues( $groupID )
    {
        $group = self::fetchById( $groupID );
        $states = array();

        if ( $group !== false )
            $states = $group->attribute( 'states' );

        $limitationValues = array();
        foreach ( $states as $state )
        {
            $limitationValues[] = array( 'name' => $state->attribute( 'current_translation' )->attribute( 'name' ),
                                         'id'   => $state->attribute( 'id' ) );
        }

        return $limitationValues;
    }
public static function limitationValues( $groupID )
    {
        $group = self::fetchById( $groupID );
        $states = array();

        if ( $group !== false )
            $states = $group->attribute( 'states' );

        $limitationValues = array();
        foreach ( $states as $state )
        {
            $limitationValues[] = array( 'name' => $state->attribute( 'current_translation' )->attribute( 'name' ),
                                         'id'   => $state->attribute( 'id' ) );
        }

        return $limitationValues;
    }
public static function limitationValues ( $ groupID ) { $ group = self :: fetchById ( $ groupID ) ; $ states = array ( ) ; if ( $ group !== false ) $ states = $ group -> attribute ( 'states' ) ; $ limitationValues = array ( ) ; foreach ( $ states as $ state ) { $ limitationValues [ ] = array ( 'name' => $ state -> attribute ( 'current_translation' ) -> attribute ( 'name' ) , 'id' => $ state -> attribute ( 'id' ) ) ; } return $ limitationValues ; }
Returns an array of limitation values useable by the policy system

@param integer $groupID
@return array
Returns an array of limitation values useable by the policy system