MessageController Class Reference

Detailed Description

MessageController is used to get all messages translated to the given language.

The controller supports the following actions:

Action default
Get all messages.

Parameter Description
in language The language
out message keys Associative array of messages and their translations
Response Actions
ok In all cases
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 35 of file MessageController.php.

+ Inheritance diagram for MessageController:

Protected Member Functions

 validate ()
 
 doExecute ($method=null)
 
 assignResponseDefaults ()
 
- Protected Member Functions inherited from Controller
 validate ()
 
 doExecute ($method=null)
 
 executeSubAction ($action)
 
 redirect ($location, $key=null, $data=null)
 
 getLogger ()
 
 getSession ()
 
 getPersistenceFacade ()
 
 getPermissionManager ()
 
 getActionMapper ()
 
 getLocalization ()
 
 getMessage ()
 
 getConfiguration ()
 
 requireTransaction ()
 
 endTransaction ($commit)
 
 isLocalizedRequest ()
 
 checkLanguageParameter ()
 
 generateCsrfToken ($name)
 
 validateCsrfToken ($name)
 
 getLocalSessionValue ($key, $default=null)
 
 setLocalSessionValue ($key, $value)
 
 clearLocalSessionValues ()
 

Additional Inherited Members

- Public Member Functions inherited from Controller
 __construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration)
 
 initialize (Request $request, Response $response)
 
 execute ($method=null)
 
 getRequest ()
 
 getResponse ()
 
- Public Attributes inherited from Controller
const CSRF_TOKEN_PARAM = 'csrf_token'
 

Member Function Documentation

validate ( )
protected
See also
Controller::validate()

Definition at line 40 of file MessageController.php.

doExecute (   $method = null)
protected
See also
Controller::doExecute()

Definition at line 51 of file MessageController.php.

assignResponseDefaults ( )
protected
See also
Controller::assignResponseDefaults()

Definition at line 68 of file MessageController.php.