Overview  Package  Tree cmsdAm 0.8

cmsdAm

Class cmsdam_http

cmsdAm.cmsdam_http

class cmsdam_http

cmsdAm HTTP handling class.

This is the HTTP class, here you can retrieve some HTTP information, some variables are aliases of the config class.

Class instance: $cms->http

Author:
dAm2K (Dino Ciuffetti) <dam2k@users.sourceforge.net>

Field Summary
public var$conf

You should not use this variable from your section.

public str$client_ip

This is the client IP address.

public int$http_maxage

This is HTTP page max age time in seconds

public str$http_charset

This is HTTP page charset encoding

public str$http_contenttype

This is HTTP page content type

Method Summary
public arraybrowser_languages

This method returns the browser preferred languages in a array

Field Detail

conf

public var $conf

You should not use this variable from your section.


client_ip

public str $client_ip

This is the client IP address.


http_maxage

public int $http_maxage

This is HTTP page max age time in seconds


http_charset

public str $http_charset

This is HTTP page charset encoding


http_contenttype

public str $http_contenttype

This is HTTP page content type

Method Detail

browser_languages()

public array browser_languages()

This method returns the browser preferred languages in a array

Author:
dAm2K (Dino Ciuffetti) <dam2k@users.sourceforge.net>
Returns:
Returns the browser accepted language array

Overview  Package  Tree cmsdAm 0.8