class TranslationEvent extends ActionEvent

Constants

WALK_MODE_PHP

WALK_MODE_TEMPLATE

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

static 
createGetStringsEvent($directory, $mode, $locale, $domain)

No description

static 
createWriteFileEvent($translationFilePath, $translatableStrings, $translatedStrings, $createFileIfNotExists)

No description

string
getDirectory()

No description

$this
setDirectory( string $directory)

No description

string
getMode()

No description

$this
setMode( string $mode)

No description

string
getLocale()

No description

$this
setLocale( string $locale)

No description

string
getDomain()

No description

$this
setDomain( string $domain)

No description

array
getTranslatableStrings()

No description

$this
setTranslatableStrings( array $translatableStrings)

No description

int
getTranslatableStringCount()

No description

$this
setTranslatableStringCount( int $translatableStringCount)

No description

string
getTranslationFilePath()

No description

$this
setTranslationFilePath( string $translationFilePath)

No description

array
getTranslatedStrings()

No description

$this
setTranslatedStrings( array $translatedStrings)

No description

boolean
isCreateFileIfNotExists()

No description

$this
setCreateFileIfNotExists( boolean $createFileIfNotExists)

No description

array
getCustomFallbackStrings()

No description

setCustomFallbackStrings( array $customFallbackStrings)

No description

array
getGlobalFallbackStrings()

No description

setGlobalFallbackStrings( array $globalFallbackStrings)

No description

Details

in ActionEvent at line 30
__set($name, $value)

Parameters

$name
$value

in ActionEvent at line 35
__get($name)

Parameters

$name

in ActionEvent at line 44
bindForm( Form $form)

Parameters

Form $form

at line 60
static createGetStringsEvent($directory, $mode, $locale, $domain)

Parameters

$directory
$mode
$locale
$domain

at line 72
static createWriteFileEvent($translationFilePath, $translatableStrings, $translatedStrings, $createFileIfNotExists)

Parameters

$translationFilePath
$translatableStrings
$translatedStrings
$createFileIfNotExists

at line 92
string getDirectory()

Return Value

string

at line 101
$this setDirectory( string $directory)

Parameters

string $directory

Return Value

$this

at line 110
string getMode()

Return Value

string

at line 119
$this setMode( string $mode)

Parameters

string $mode

Return Value

$this

at line 128
string getLocale()

Return Value

string

at line 137
$this setLocale( string $locale)

Parameters

string $locale

Return Value

$this

at line 146
string getDomain()

Return Value

string

at line 155
$this setDomain( string $domain)

Parameters

string $domain

Return Value

$this

at line 164
array getTranslatableStrings()

Return Value

array

at line 173
$this setTranslatableStrings( array $translatableStrings)

Parameters

array $translatableStrings

Return Value

$this

at line 182
int getTranslatableStringCount()

Return Value

int

at line 191
$this setTranslatableStringCount( int $translatableStringCount)

Parameters

int $translatableStringCount

Return Value

$this

at line 200
string getTranslationFilePath()

Return Value

string

at line 209
$this setTranslationFilePath( string $translationFilePath)

Parameters

string $translationFilePath

Return Value

$this

at line 218
array getTranslatedStrings()

Return Value

array

at line 227
$this setTranslatedStrings( array $translatedStrings)

Parameters

array $translatedStrings

Return Value

$this

at line 236
boolean isCreateFileIfNotExists()

Return Value

boolean

at line 245
$this setCreateFileIfNotExists( boolean $createFileIfNotExists)

Parameters

boolean $createFileIfNotExists

Return Value

$this

at line 254
array getCustomFallbackStrings()

Return Value

array

at line 262
setCustomFallbackStrings( array $customFallbackStrings)

Parameters

array $customFallbackStrings

at line 271
array getGlobalFallbackStrings()

Return Value

array

at line 279
setGlobalFallbackStrings( array $globalFallbackStrings)

Parameters

array $globalFallbackStrings