Documentation

LanguageKey
in package

Represents a language key.

Tags
author

Aberdeener

version
2.3.0
license

MIT

Table of Contents

Properties

$modulePath  : string
$section  : string
$term  : string
$variables  : array<string|int, mixed>

Methods

__construct()  : mixed
translate()  : string

Properties

$variables

private array<string|int, mixed> $variables

Methods

__construct()

public __construct(string $section, string $term[, array<string|int, mixed> $variables = [] ][, string|null $modulePath = 'core' ]) : mixed
Parameters
$section : string
$term : string
$variables : array<string|int, mixed> = []
$modulePath : string|null = 'core'

translate()

public translate(string $languageCode) : string
Parameters
$languageCode : string
Return values
string

        
On this page

Search results