plugin/scorm/Library/Export/Manifest/AbstractScormManifest.php
public function dump()
    {
        // Create a new XML document
        $document = new \DOMDocument('1.0', 'utf-8');
        $document->preserveWhiteSpace = false;
        $document->formatOutput = true;
        $document->loadXML($this->xml->asXML());

        return $document->saveXML();
    }
public function dump()
    {
        // Create a new XML document
        $document = new \DOMDocument('1.0', 'utf-8');
        $document->preserveWhiteSpace = false;
        $document->formatOutput = true;
        $document->loadXML($this->xml->asXML());

        return $document->saveXML();
    }
public function dump ( ) { // Create a new XML document $ document = new \ DOMDocument ( '1.0' , 'utf-8' ) ; $ document -> preserveWhiteSpace = false ; $ document -> formatOutput = true ; $ document -> loadXML ( $ this -> xml -> asXML ( ) ) ; return $ document -> saveXML ( ) ; }
Dump manifest structure into a XML string.

@return string
Dump manifest structure into a XML string .