public function getAvailableMetadataFormats()
    {
        $data = array();

        // List identifiers
        if (is_null($this->metadataIterator)) {
            $this->metadataIterator = $this->endpoint->listMetadataFormats();
        }

        $data = array(
            'header' => array('Metadata Prefix', 'Schema', 'Namespace'),
            'rows' => array(),
        );

        foreach ($this->metadataIterator as $rec) {
            $data['rows'][] = array(
                $rec->metadataPrefix,
                $rec->schema,
                $rec->metadataNamespace
            );
        }

        return $data;
    }
public function getAvailableMetadataFormats()
    {
        $data = array();

        // List identifiers
        if (is_null($this->metadataIterator)) {
            $this->metadataIterator = $this->endpoint->listMetadataFormats();
        }

        $data = array(
            'header' => array('Metadata Prefix', 'Schema', 'Namespace'),
            'rows' => array(),
        );

        foreach ($this->metadataIterator as $rec) {
            $data['rows'][] = array(
                $rec->metadataPrefix,
                $rec->schema,
                $rec->metadataNamespace
            );
        }

        return $data;
    }
public function getAvailableMetadataFormats ( ) { $ data = array ( ) ; // List identifiers if ( is_null ( $ this -> metadataIterator ) ) { $ this -> metadataIterator = $ this -> endpoint -> listMetadataFormats ( ) ; } $ data = array ( 'header' => array ( 'Metadata Prefix' , 'Schema' , 'Namespace' ) , 'rows' => array ( ) , ) ; foreach ( $ this -> metadataIterator as $ rec ) { $ data [ 'rows' ] [ ] = array ( $ rec -> metadataPrefix , $ rec -> schema , $ rec -> metadataNamespace ) ; } return $ data ; }
Retrieve a list of available metadata format schemas from the endpoint.

@return array An array containing data in a tabular format.
Retrieve a list of available metadata format schemas from the endpoint .