|
Previous Page |
Solar_Locale |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
fetch()- Returns the translated locale string for a class and key.
getCode()- Returns the current locale code.
getCountryCode()- Returns ISO 3166 country code for current locale code.
locale()- Looks up class-specific locale strings based on a key.
setCode()- Sets the locale code and clears out previous translations.
Protected
_exception()- Convenience method for returning exceptions with localized text.
_load()- Loads the translation array for a given class.
_trans()- Returns an existing class/key/num string from the translation array.
Private
None.