XML_RDDL::getResourceById()

XML_RDDL::getResourceById() -- get one resource from the document

Synopsis

require_once 'XML/RDDL.php';

array XML_RDDL::getResourceById (string $id)

Description

Gets one resource from a document. You have to call XML_RDDL::parseRDDL() first.

Parameter

Return value

array array containing all information about the specified resource or a PEAR_Error if the resource does not exist.

Note

This function can not be called statically.