Constants

LANG_CZECH

LANG_CZECH

Czech language

LANG_DANISH

LANG_DANISH

Danish language

LANG_GERMAN

LANG_GERMAN

German language

LANG_ENGLISH

LANG_ENGLISH

English language

LANG_SPANISH

LANG_SPANISH

Spanish language

LANG_FRENCH

LANG_FRENCH

French language

LANG_HUNGARIAN

LANG_HUNGARIAN

Hungarian language

LANG_ITALIAN

LANG_ITALIAN

Italian language

LANG_JAPANESE

LANG_JAPANESE

Japanese language

LANG_KOREAN

LANG_KOREAN

Korean language

LANG_NORWEGIAN

LANG_NORWEGIAN

Norwegian language

LANG_DUTCH

LANG_DUTCH

Dutch language

LANG_POLISH

LANG_POLISH

Polish language

LANG_PORTUGUESE

LANG_PORTUGUESE

Portuguese language

LANG_BRAZILIAN_PORTUGUESE

LANG_BRAZILIAN_PORTUGUESE

Brazilian Portuguese language

LANG_ROMANIAN

LANG_ROMANIAN

Romanian language

LANG_RUSSIAN

LANG_RUSSIAN

Russian language

LANG_SLOVAK

LANG_SLOVAK

Slovak language

LANG_TURKISH

LANG_TURKISH

Turkish language

LANG_CHINESE

LANG_CHINESE

Chinese language

Properties

$entries

$entries : 

Type

Methods

create()

create() : static

Create a new Dico

Returns

static

getEntry()

getEntry(string  $language, string  $entryId) : string

Get the translatable entry

Parameters

string $language

Language id

string $entryId

Entry id

Returns

string

setEntry()

setEntry(string  $language, string  $entryId, string  $entryValue) : static

Set the translatable entry for the specific language

Parameters

string $language

Language id

string $entryId

Entry id

string $entryValue

Translated entry value

Returns

static

removeEntry()

removeEntry(string  $entryId, string  $language = null) : static

Remove entries of the given id

Parameters

string $entryId

Entry id that should be removed

string $language

(optional) Only remove entry from the given language

Returns

static

removeLanguage()

removeLanguage(string  $language) : static

Remove entries of the given language

Parameters

string $language

Language which entries should be removed

Returns

static

removeEntries()

removeEntries() : static

Remove entries

Returns

static

removeAllEntries()

removeAllEntries() : static

Remove all entries

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the Dico

Parameters

\DOMDocument $domDocument

DOMDocument for which the Dico should be rendered

Returns

\DOMElement