\Translate\ControllerTranslationController

Class TranslationController

Handles basic requests pertaining to the translation module

Summary

Methods
Properties
Constants
__construct()
indexAction()
manageSystemLanguagesAction()
editAction()
editTranslationAction()
ajaxUpdateAvailableLanguagesAction()
No public properties found
No constants found
No protected methods found
$translationManager
$languageManager
N/A
No private methods found
No private properties found
N/A

Properties

$translationManager

$translationManager : \Translate\Controller\TranslationManager;

Service that handles basic translation model logic

Type

\Translate\Controller\TranslationManager;

$languageManager

$languageManager : \Translate\Controller\LanguageManager;

Service that handles locale model logic

Type

\Translate\Controller\LanguageManager;

Methods

indexAction()

indexAction() 

This is the default "index" action of the controller. It displays the Home page.

manageSystemLanguagesAction()

manageSystemLanguagesAction() : \Zend\View\Model\ViewModel

Display basic language lists actual logic is performed in jQuery file

Returns

\Zend\View\Model\ViewModel

editAction()

editAction() : \Zend\View\Model\ViewModel

This page displays all (or untranslated) messages for the chosen language

Returns

\Zend\View\Model\ViewModel

editTranslationAction()

editTranslationAction() : \Zend\View\Model\ViewModel

This page displays the form where a particular message can be translated

Returns

\Zend\View\Model\ViewModel

ajaxUpdateAvailableLanguagesAction()

ajaxUpdateAvailableLanguagesAction() : \Zend\View\Model\JsonModel

Handle logic when flag is dragged between available languages and Enabled languages on manage-system-languages page

Returns

\Zend\View\Model\JsonModel