static void getBundle(
$baseName, [
$locale = _ULC_], [
$directory = null]
)
|
|
Fetches the Bundle with the given basename.
If none Translation File could be found with this name it returns null.
This method should be accessed static!
Parameters:
|
|
$baseName: |
|
|
|
$locale: |
|
|
|
$directory: |
|
API Tags:
static void getFileName(
$baseName, [
$locale = _ULC_], [
$directory = null]
)
|
|
Parameters:
|
|
$baseName: |
|
|
|
$locale: |
|
|
|
$directory: |
|
API Tags:
void getFormattedString(
$key,
$replacements
)
|
|
TODO not implemented yet!
Parameters:
void getString(
$key, [
$fallback = null]
)
|
|
Return the Translation String with the given Key.
If this translation could not be found and
$fallback != null
this returns $fallback
, otherwise it returns '???' . $key . '???'
Parameters:
Returns the internal translation Object.
API Tags:
void load(
$baseName, [
$locale = _ULC_], [
$directory = null]
)
|
|
This tries to load the Translations from the given File into the current ResourceBundle by appending them to the internal List.
Parameters:
|
|
$baseName: |
|
|
|
$locale: |
|
|
|
$directory: |
|