CoolCMS API

ParameterRenderContext
in package

FinalYes

Shared context for rendering (displaying) parameter values; the read-side counterpart of {@see ParameterFormContext}.

Holds only what AbstractParameterType::formatValue() needs across modules: the language for translation lookup (unit) and the locale for plurals.

Table of Contents

Properties

$languageId  : int|null
$locale  : string
Locale for choosing the plural form of the unit; ignored for explicit intervals.

Properties

$locale

Locale for choosing the plural form of the unit; ignored for explicit intervals.

public string $locale = 'cs'
On this page

Search results