XML_RDDL::parseRDDL

XML_RDDL::parseRDDL() – parse a document that contains RDDL resources

Synopsis

require_once 'XML/RDDL.php';

boolean XML_RDDL::parseRDDL ( string $input , boolean $isFile = true )

Description

Parses an XML or XHTML document that contains RDDL resources and stores information about them for retrieval by the other methods.

Parameter

  • 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.

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Constructor (Previous) return all resources that have been found (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.