l10n handling
- Author
- Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ __construct()
Galette\Core\L10n::__construct |
( |
Db |
$zdb, |
|
|
I18n |
$i18n |
|
) |
| |
Default constructor.
- Parameters
-
◆ addDynamicTranslation()
Galette\Core\L10n::addDynamicTranslation |
( |
string |
$text_orig | ) |
|
Add a translation stored in the database
- Parameters
-
string | $text_orig | Text to translate |
- Returns
- boolean
◆ deleteDynamicTranslation()
Galette\Core\L10n::deleteDynamicTranslation |
( |
string |
$text_orig | ) |
|
Delete a translation stored in the database
- Parameters
-
string | $text_orig | Text to translate |
- Returns
- boolean
◆ getDynamicTranslation()
Galette\Core\L10n::getDynamicTranslation |
( |
string |
$text_orig, |
|
|
string |
$text_locale |
|
) |
| |
Get a translation stored in the database
- Parameters
-
string | $text_orig | Text to translate |
string | $text_locale | The locale |
- Returns
- string
◆ updateDynamicTranslation()
Galette\Core\L10n::updateDynamicTranslation |
( |
string |
$text_orig, |
|
|
string |
$text_locale, |
|
|
string |
$text_trans |
|
) |
| |
Update a translation stored in the database
- Parameters
-
string | $text_orig | Text to translate |
string | $text_locale | The locale |
string | $text_trans | Translated text |
- Returns
- boolean
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/galette-apidoc/checkouts/develop/galette/lib/Galette/Core/L10n.php