SproutCMS

This is the code documentation for the SproutCMS project

function load()

The main load function for a document.
Throw an exception on error.

Usage

string|DOMDocument $DocImportPlaintext->load ( string $filename );

Arguments

  1. string $filename
    The file. The file will exist, but may not be valid

Return value

  • string
    $data Resultant XML data as a string or DOMDocument element
  • DOMDocument
    $data Resultant XML data as a string or DOMDocument element