Class MOXMAN_Util_LanguagePack
Inheritance | MOXMAN_Util_LanguagePack |
---|
This class parses XML language packs and returns them as a php array with groups and subgroups.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructs a new LanguagePack instance. | MOXMAN_Util_LanguagePack |
getGroups() | Returns the groups as an name/value array with subarrays with key/values. | MOXMAN_Util_LanguagePack |
load() | Loads the specified XML file into the groups array. | MOXMAN_Util_LanguagePack |
Method Details
Constructs a new LanguagePack instance.
public void __construct ( ) |
Returns the groups as an name/value array with subarrays with key/values.
public Array getGroups ( ) | ||
return | Array | Name/value array with groups and subgroups. |
---|
Loads the specified XML file into the groups array.
public void load ( $path ) | ||
$path | string | Path to XML file to load. |