PHP Class 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.
Inheritance: extends Prado\Web\UI\TControl
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
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.

Method Details

getCharset() public method

It is evaluated in the following order: 1) application charset, 2) the default charset in globalization 3) UTF-8
public getCharset ( ) : string
return string charset

getCulture() public method

Get the specific culture for this control.
public getCulture ( ) : string
return string culture identifier.

setCharset() public method

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

setCulture() public method

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