Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
Elgg\I18n\MessageBundle Interface Reference

WARNING: API IN FLUX. More...

Inheritance diagram for Elgg\I18n\MessageBundle:
Elgg\I18n\ArrayMessageBundle

Public Member Functions

 get ($key, Locale $locale)
 Fetches the translatable message associated with the given key. More...
 

Detailed Description

WARNING: API IN FLUX.

DO NOT USE DIRECTLY.

TODO(ewinslow): Have this extend Table(row=string, column=Locale, value=?MessageTemplate) if we ever support a Table data structure.

Since
1.11

private

Definition at line 14 of file MessageBundle.php.

Member Function Documentation

Elgg\I18n\MessageBundle::get (   $key,
Locale  $locale 
)

Fetches the translatable message associated with the given key.

Parameters
string$keyString identifier for the message
Locale$localeLocale in which the message is written
Returns
?MessageTemplate The message object or null if not found.

Implemented in Elgg\I18n\ArrayMessageBundle.


The documentation for this interface was generated from the following file: