previousXML_RDDL::getAllResources (Previous) (Next) XML_RDDL::getResourcesByNaturenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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

  • string $id - ID of the resource you want to get.

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.

previousXML_RDDL::getAllResources (Previous) (Next) XML_RDDL::getResourcesByNaturenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.