public function getEnumerations()
    {
        $enums = array();
        foreach ($this->element->getElementsByTagName('enumeration') as $enum) {
            $enums[] = $enum->getAttribute('value');
        };
        return $enums;
    }
public function getEnumerations()
    {
        $enums = array();
        foreach ($this->element->getElementsByTagName('enumeration') as $enum) {
            $enums[] = $enum->getAttribute('value');
        };
        return $enums;
    }
public function getEnumerations ( ) { $ enums = array ( ) ; foreach ( $ this -> element -> getElementsByTagName ( 'enumeration' ) as $ enum ) { $ enums [ ] = $ enum -> getAttribute ( 'value' ) ; } ; return $ enums ; }
Returns an array of values that the type may have if the type is an enumeration.

@return string[] The valid enumeration values.
Returns an array of values that the type may have if the type is an enumeration .