Class XMLFile

Description

XML Wrapper for files

This class extends XML by functionality for accessing xml files.

  • usedby: ModuleItem - for reading the modinfo file

Located in /phpsatk-lib/core/02.xml.file.php (line 36)

DOMDocument
   |
   --XML
      |
      --XMLFile
Method Summary
XMLFile __construct (string $filename, [mixed $version = XML::DEFAULT_VERSION], [mixed $encoding = XML::DEFAULT_ENCODING])
void save ([string $filename = null])
Methods
Constructor __construct (line 52)

Create a new DOMDocument from a file

XMLFile __construct (string $filename, [mixed $version = XML::DEFAULT_VERSION], [mixed $encoding = XML::DEFAULT_ENCODING])
  • string $filename: Path to XML file

Redefinition of:
XML::__construct()
Initializes a new document
save (line 69)

Saves the current XML-tree into a file.

In opposition to the default save implementation, this one does not require a parameter and uses the file specified when loading for saving.

  • access: public
void save ([string $filename = null])
  • string $filename: Optional filename

Inherited Methods

Inherited From XML

XML::__construct()
XML::getXPath()
XML::schemaValidate()
Class Constants

Inherited Constants

Inherited from XML

Documentation generated on Mon, 21 May 2007 10:34:33 +0200 by phpDocumentor 1.3.0RC5