XML_RDDL::XML_RDDL | XML_RDDL::getAllResources |
XML_RDDL | |
PEAR Manual | |
require_once 'XML/RDDL.php'; |
boolean XML_RDDL::parseRDDL (
string $input
, boolean $isFile = true
)
Parses an XML or XHTML document that contains RDDL resources and stores information about them for retrieval by the other methods.
string $input - input to parse, either a string or a file. If it's a file, you have to set $isFile to true.
boolean $isFile - flag to indicate whether the $input parameter should be treated as a filename.
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
XML_RDDL::XML_RDDL | XML_RDDL::getAllResources |
XML_RDDL | |
PEAR Manual | |