lib/ezi18n/classes/eztranslatormanager.php
\eZTranslatorManager
Package:
Constants
Properties
Methods

createKey(
$context, $source, $comment
=
null
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $context | ||
| $source | ||
| $comment |

createMessage(
$context, $source, $comment
=
null, $translation
=
null
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $context | ||
| $source | ||
| $comment | ||
| $translation |

findMessage(
$context, $source, $comment
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $context | ||
| $source | ||
| $comment |

instance(
)
:
\eZTranslatorManager
static
Returns a shared instance of the eZTranslatorManager class.
Returns
| Type | Description |
|---|---|
| \eZTranslatorManager |

setActiveTranslation(
$locale, $permanently
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $locale | ||
| $permanently |