XML_RDDL::getResourcesByPurpose | XML_RDDL::apiVersion |
XML_RDDL | |
PEAR Manual | |
require_once 'XML/RDDL.php'; |
array XML_RDDL::getResourcesByLanguage (
string $language
)
Gets all resources of a given language from an RDDL document. You have to call XML_RDDL::parseRDDL() first. If a resource has no xml:lang attribute, the xml:lang attribute of the root of the document is used.
string $language - language of the resources you want to get.
array array containing all resources with the specified language.
This function can not be called statically.
Getting all english resource
|
XML_RDDL::getResourcesByPurpose | XML_RDDL::apiVersion |
XML_RDDL | |
PEAR Manual | |