XML_RDDL::getResourcesByLanguage

XML_RDDL::getResourcesByLanguage()

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

Description

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

  • string $language - language of the resources you want to get.

Return value

array array containing all resources with the specified language.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.