Class MOXMAN_Util_LanguagePack

InheritanceMOXMAN_Util_LanguagePack

This class parses XML language packs and returns them as a php array with groups and subgroups.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

__construct() public method

Constructs a new LanguagePack instance.

public void __construct ( )
getGroups() public method

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.

load() public method

Loads the specified XML file into the groups array.

public void load ( $path )
$path string

Path to XML file to load.