PHP Класс Prado\I18N\TI18NControl

Base class for I18N components, providing Culture and Charset properties. Namespace: System.I18N Properties - Culture, string,
Gets or sets the culture for formatting. If the Culture property is not specified. The culture from the Application/Page is used. - Charset, string,
Gets or sets the charset for both input and output. If the Charset property is not specified. The charset from the Application/Page is used. The default is UTF-8.
Наследование: extends Prado\Web\UI\TControl
Показать файл Открыть проект

Открытые методы

Метод Описание
getCharset ( ) : string Gets the charset.
getCulture ( ) : string Get the specific culture for this control.
setCharset ( $value ) Sets the charset for message output
setCulture ( $culture ) Get the custom culture identifier.

Описание методов

getCharset() публичный метод

It is evaluated in the following order: 1) application charset, 2) the default charset in globalization 3) UTF-8
public getCharset ( ) : string
Результат string charset

getCulture() публичный метод

Get the specific culture for this control.
public getCulture ( ) : string
Результат string culture identifier.

setCharset() публичный метод

Sets the charset for message output
public setCharset ( $value )

setCulture() публичный метод

Get the custom culture identifier.
public setCulture ( $culture )