Class cModuleFileTranslation
This class save the translations from a modul in a file and get it from file.
- cModuleHandler
- cModuleFileTranslation
Package: Core\Backend
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at classes/module/class.module.filetranslation.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at classes/module/class.module.filetranslation.php
public
|
|
private
string
|
|
public
array
|
|
public
|
|
private
string
|
#
_serializeArray( array $wordListArray )
This method serialize a array. $key.[Divider].$value."\r\n" |
private
array
|
#
_unserializeArray( string $string )
This method unserialize a string. The contents of file looks like original String [Divider] Translation String. If divider is = Example: Hello World=Hallo Welt |
public
boolean
|
|
public
array
|
private
string
|
$_modulePath |
|
#
Path to the modul directory |
public static
string
|
$fileName | '' |
#
Name of the translations file |
public static
array
|
$langArray | array() |
#
Translation array. |
public static
integer
|
$savedIdMod | NULL |
#
The id of the modul |
public static
string
|
$originalTranslationDivider | '=' |
$_cfg,
$_cfgClient,
$_client,
$_description,
$_directories,
$_encoding,
$_encodingStore,
$_fileEncoding,
$_idlang,
$_idmod,
$_input,
$_moduleAlias,
$_output,
$_type
|