Class

eZRandomTranslator

class eZRandomTranslator extends eZTranslatorGroup

Properties

$IsKeyBased
$Handlers

Methods

__construct(bool $is_key_based)

Constructor

findKey($key)

from eZTranslatorGroup
findMessage($context, $source, $comment = null)

from eZTranslatorGroup
translate($context, $source, $comment = null)

from eZTranslatorGroup
keyTranslate($key)

from eZTranslatorGroup
keyPick($key)

pick($context, $source, $comment)

handlerCount()

from eZTranslatorGroup
registerHandler($handler)

from eZTranslatorGroup

Details

at line 20
public __construct(bool $is_key_based)

Constructor

Parameters

bool $is_key_based

in eZTranslatorGroup at line 32
public findKey($key)

Parameters

$key

in eZTranslatorGroup at line 52
public findMessage($context, $source, $comment = null)

Parameters

$context
$source
$comment

in eZTranslatorGroup at line 70
public translate($context, $source, $comment = null)

Parameters

$context
$source
$comment

in eZTranslatorGroup at line 88
public keyTranslate($key)

Parameters

$key

at line 29
public keyPick($key)

Parameters

$key

at line 39
public pick($context, $source, $comment)

Parameters

$context
$source
$comment

in eZTranslatorGroup at line 123
public handlerCount()

in eZTranslatorGroup at line 131
public registerHandler($handler)

Parameters

$handler