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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )