Class lajax\translatemanager\services\Generator

Inheritancelajax\translatemanager\services\Generator
Available since version1.0

Generator class for producing JavaScript files containing language elements.

Method Details

__construct() public method

public void __construct ( $module, $language_id )
$module lajax\translatemanager\Module
$language_id string

Language of the file to be generated.

generate() public method

Generating JavaScript language file.

public int generate ( )
getLanguageId() public method

public string getLanguageId ( )
return string

Returns the language id of the translation.

run() public method

Generating JavaScript language file.

public int run ( )
setLanguageId() public method

public void setLanguageId ( $language_id )
$language_id string

Stores the language id of the translation.