Initialize the Culture and Charset for this application.
You should override this method if you want a different way of setting the Culture and/or Charset for your application. See the I18N example, HTTPGlobalization class for a simple example. N.BWhen override this method, be sure to set BOTH the Culture and Charset.
Overridden in child classes as:
- HTTPGlobalization::init()
- Set the Culture by using the HTTPNegotiator to find the prefered language from the client browser.
void sendContentTypeHeader(
)
|
|
Send the content type header.
This method should be called before sending out the content. Content type header is sent in TPage::execute, before echoing the contents. Content type and charset can be set with $this->ContentType and $this->Charset respectively.