PHP 클래스 Prado\I18N\core\HTTPNegotiator

Get the language and charset information from the client browser.
파일 보기 프로젝트 열기: pradosoft/prado

보호된 프로퍼티들

프로퍼티 타입 설명
$charsets array A list of charsets accepted by the browser
$languages array A list of languages accepted by the browser.

공개 메소드들

메소드 설명
getCharsets ( ) : array Get a list of charsets acceptable by the client browser.
getLanguages ( ) : array Get a list of languages acceptable by the client browser

메소드 상세

getCharsets() 공개 메소드

Get a list of charsets acceptable by the client browser.
public getCharsets ( ) : array
리턴 array list of charsets in preferable order.

getLanguages() 공개 메소드

Get a list of languages acceptable by the client browser
public getLanguages ( ) : array
리턴 array languages ordered in the user browser preferences.

프로퍼티 상세

$charsets 보호되어 있는 프로퍼티

A list of charsets accepted by the browser
protected array $charsets
리턴 array

$languages 보호되어 있는 프로퍼티

A list of languages accepted by the browser.
protected array $languages
리턴 array