XML_RDDL::getResourcesByLanguage()

XML_RDDL::getResourcesByLanguage() -- selects all resources of a specified language

Synopsis

require_once 'XML/RDDL.php';

array XML_RDDL::getResourcesByLanguage (string $language)

Beschreibung

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.

Parameter

Rückgabewert

array array containing all resources with the specified language.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Usage example