public function saveXMLFile() {

        $structure = $this->getStructure();

        $result = file_put_contents($this->path, $structure->xmlOutput());

        return $result;
    }
public function saveXMLFile() {

        $structure = $this->getStructure();

        $result = file_put_contents($this->path, $structure->xmlOutput());

        return $result;
    }
public function saveXMLFile ( ) { $ structure = $ this -> getStructure ( ) ; $ result = file_put_contents ( $ this -> path , $ structure -> xmlOutput ( ) ) ; return $ result ; }
This function saves the whole xmldb_structure to its file
@return int|bool false on failure, number of written bytes on success
This function saves the whole xmldb_structure to its file