CSHttpParameter
in package
HTTP request class that provides APIs to build and execute a HTTP request.
Tags
Table of Contents
- __construct() : mixed
- Instanciates the parameter with its name and value.
- getName() : string
- Returns the parameter name.
- getQueryString() : string
- Returns the parameter query string to be used with URLs.
- getValue() : string
- Returns the parameter value.
Methods
__construct()
Instanciates the parameter with its name and value.
public
__construct(string $sName[, string $sValue = '' ]) : mixed
Parameters
- $sName : string
-
The parameter name
- $sValue : string = ''
-
The parameter value return void access public
Tags
Return values
mixed —getName()
Returns the parameter name.
public
getName() : string
Tags
Return values
string —The name of the parameter.
getQueryString()
Returns the parameter query string to be used with URLs.
public
getQueryString() : string
Tags
Return values
string —The query string that can be appended to an URL.
getValue()
Returns the parameter value.
public
getValue() : string
Tags
Return values
string —The value of the parameter.
