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

Class: HTTPGlobalization

Source Location: /I18N/HTTPGlobalization.php

Class Overview

TGlobalization
   |
   --HTTPGlobalization

HTTPGlobalization class.

Class Details

[line 32]
HTTPGlobalization class.

HTTPNegotiator is used to find the prefered language from the client browser.




version:  v1.0, last update on Friday, December 24, 2004
author:  Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>


[ Top ]

Methods


Inherited Variables

Inherited Methods

Class: TGlobalization

TGlobalization::__construct()
Constructor.
TGlobalization::getDefaultCharset()
Returns the default charset.
TGlobalization::getDefaultCulture()
Returns the default culture.
TGlobalization::getVariants()
Get the variant of a specific culture. If the parameter $culture is null, the current culture is used.
TGlobalization::init()
Initialize the Culture and Charset for this application.
TGlobalization::sendContentTypeHeader()
Send the content type header.

Class Methods


method init [line 38]

void init( )

Set the Culture by using the HTTPNegotiator to find the prefered language from the client browser.



Overrides TGlobalization::init() (Initialize the Culture and Charset for this application.)

[ Top ]


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