|
Previous Class |
Solar_Locale |
Next Page |
Solar_Locale
Manages locale strings for all Solar classes.
Catalog
This class is part of the Solar package.
Inheritance:
- Solar_Base
- Solar_Locale
Constants
None.
Public Properties
These are all the public properties in the Solar_Locale class.
You can also view the list of all public, protected, and private properties.
$trans- Collected translation strings arranged by class and key.
Public Methods
These are all the public methods in the Solar_Locale class.
You can also view the list of all public, protected, and private methods.
__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.