Merx

$orderPage->translation()

Returns a single translation by language code If no code is specified the current translation is returned

$orderPage->translation(null|string $languageCode = null): Kirby\Content\Translation

Parameters

Name Type Default
$languageCode null or string null

Return type

Kirby\Content\Translation

Exceptions

Type Description
NotFoundException If the language does not exist

Parent class

Wagnerwagner\Merx\OrderPage inherited from Kirby\Cms\ModelWithContent