src/Reader/MzIdentMlReader1r1.php
private function getFileFormat(\SimpleXMLElement $xml)
    {
        $formats = array();

        foreach ($xml->cvParam as $xmlCvParam) {
            $cvParam = $this->getCvParam($xmlCvParam);

            $formats[] = $cvParam[PsiVerb::CV_ACCESSION];
        }

        return $formats;
    }
private function getFileFormat(\SimpleXMLElement $xml)
    {
        $formats = array();

        foreach ($xml->cvParam as $xmlCvParam) {
            $cvParam = $this->getCvParam($xmlCvParam);

            $formats[] = $cvParam[PsiVerb::CV_ACCESSION];
        }

        return $formats;
    }
private function getFileFormat ( \ SimpleXMLElement $ xml ) { $ formats = array ( ) ; foreach ( $ xml -> cvParam as $ xmlCvParam ) { $ cvParam = $ this -> getCvParam ( $ xmlCvParam ) ; $ formats [ ] = $ cvParam [ PsiVerb :: CV_ACCESSION ] ; } return $ formats ; }
The format of the ExternalData file, for example "tiff" for image files.

@param \SimpleXMLElement $xml
XML to parse
The format of the ExternalData file for example tiff for image files .