System.I18N.core
[ class tree: System.I18N.core ] [ index: System.I18N.core ] [ all elements ]

Class: HTTPNegotiator

Source Location: /I18N/core/HTTPNegotiator.php

Class Overview


HTTPNegotiator class.

Class Details

[line 34]
HTTPNegotiator class.

Get the language and charset information from the client browser.




version:  v1.0, last update on Fri Dec 24 16:01:35 EST 2004
author:  Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>


[ Top ]

Variables

Methods



Class Variables

$charsets =

[line 46]

A list of charsets accepted by the browser



access:  protected

Type:   array


[ Top ]

$languages =

[line 40]

A list of languages accepted by the browser.



access:  protected

Type:   array


[ Top ]



Class Methods


method getCharsets [line 105]

array getCharsets( )

Get a list of charsets acceptable by the client browser.



return:  list of charsets in preferable order.


[ Top ]

method getLanguages [line 52]

array getLanguages( )

Get a list of languages acceptable by the client browser



return:  languages ordered in the user browser preferences.


[ Top ]


© 2004-2005 PRADO Software Group. All Rights Reserved.