Documentation

Locales extends Helper
in package

Table of Contents

$app  : App
$context  : mixed
$locales  : array<string|int, mixed>
__call()  : mixed
__construct()  : mixed
__get()  : mixed
__invoke()  : mixed
applyLocales()  : mixed
cache()  : array<string|int, mixed>
locales()  : array<string|int, mixed>
initialize()  : mixed

Properties

$context

public mixed $context

$locales

protected array<string|int, mixed> $locales = []

Methods

__call()

public __call(mixed $name, mixed $arguments) : mixed
Parameters
$name : mixed
$arguments : mixed
Return values
mixed

__construct()

public __construct(App $app[, mixed $context = null ]) : mixed
Parameters
$app : App
$context : mixed = null
Return values
mixed

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__invoke()

public __invoke(mixed $helper) : mixed
Parameters
$helper : mixed
Return values
mixed

applyLocales()

public applyLocales(mixed $obj[, mixed $locale = 'default' ]) : mixed
Parameters
$obj : mixed
$locale : mixed = 'default'
Return values
mixed

cache()

public cache([bool $persistent = true ]) : array<string|int, mixed>
Parameters
$persistent : bool = true
Return values
array<string|int, mixed>

locales()

public locales([bool $assoc = false ]) : array<string|int, mixed>
Parameters
$assoc : bool = false
Return values
array<string|int, mixed>

initialize()

protected initialize() : mixed
Return values
mixed

Search results