public function getBase()
    {
        $base = null;

        $extensions = $this->element->getElementsByTagName('extension');
        if ($extensions->length > 0) {
            $base = $this->cleanNamespace($extensions->item(0)->getAttribute('base'));
        }

        return $base;
    }
public function getBase()
    {
        $base = null;

        $extensions = $this->element->getElementsByTagName('extension');
        if ($extensions->length > 0) {
            $base = $this->cleanNamespace($extensions->item(0)->getAttribute('base'));
        }

        return $base;
    }
public function getBase ( ) { $ base = null ; $ extensions = $ this -> element -> getElementsByTagName ( 'extension' ) ; if ( $ extensions -> length > 0 ) { $ base = $ this -> cleanNamespace ( $ extensions -> item ( 0 ) -> getAttribute ( 'base' ) ) ; } return $ base ; }
Returns the base type for the type.

This is used to model inheritance between types.

@return string The name of the base type for the type.
Returns the base type for the type .