PHP Class Zaphpa_Request, zaphpa

显示文件 Open project: zaphpa/zaphpa

Public Properties

Property Type Description
$accepted_formats
$charsets
$clientIP
$data
$encodings
$format
$languages
$method
$params
$protocol
$userAgent
$version

Public Methods

Method Description
__construct ( )
common_aliases ( ) Subclass this function if you need a different set!
get_var ( $idx ) Covenience method that checks is data item is empty to avoid notice-level warnings

Private Methods

Method Description
parse_special ( $varname, $argname, $default = [] ) Parses some packed $_SERVER variables into more useful arrays.

Method Details

__construct() public method

public __construct ( )

common_aliases() public method

Subclass this function if you need a different set!
public common_aliases ( )

get_var() public method

@param $idx name o the data variable (either request var or HTTP body var).
public get_var ( $idx )

Property Details

$accepted_formats public_oe property

public $accepted_formats

$charsets public_oe property

public $charsets

$clientIP public_oe property

public $clientIP

$data public_oe property

public $data

$encodings public_oe property

public $encodings

$format public_oe property

public $format

$languages public_oe property

public $languages

$method public_oe property

public $method

$params public_oe property

public $params

$protocol public_oe property

public $protocol

$userAgent public_oe property

public $userAgent

$version public_oe property

public $version