Class lajax\translatemanager\services\Generator
Inheritance | lajax\translatemanager\services\Generator |
---|---|
Available since version | 1.0 |
Generator class for producing JavaScript files containing language elements.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | lajax\translatemanager\services\Generator | |
generate() | Generating JavaScript language file. | lajax\translatemanager\services\Generator |
getLanguageId() | lajax\translatemanager\services\Generator | |
run() | Generating JavaScript language file. | lajax\translatemanager\services\Generator |
setLanguageId() | lajax\translatemanager\services\Generator |
Method Details
public void __construct ( $module, $language_id ) | ||
$module | lajax\translatemanager\Module | |
$language_id | string | Language of the file to be generated. |
Generating JavaScript language file.
public int generate ( ) |
public string getLanguageId ( ) | ||
return | string | Returns the language id of the translation. |
---|
Generating JavaScript language file.
public int run ( ) |
public void setLanguageId ( $language_id ) | ||
$language_id | string | Stores the language id of the translation. |