array XML_RDDL::getResourceById (
string $id
)
Gets one resource from a document. You have to call XML_RDDL::parseRDDL() first.
string $id
- ID of the resource you want to get.
array array containing all information about the specified resource or a PEAR_Error if the resource does not exist.
This function can not be called statically.