HTTP Request for current PHP environment
Set cookies
Instantiate and set cookies.
Parameters: | $cookie – |
---|---|
Return type: | Request |
Set the request URI.
Parameters: | string – |
---|---|
Return type: | self |
Provide an alternate Parameter Container implementation for server parameters in this object, (this is NOT the primary API for value setting, for that see getServer())
Parameters: | ParametersInterface – |
---|---|
Return type: | Request |
Return the parameter container responsible for server parameters or a single parameter value.
Parameters: |
|
---|
:see :
Return type: | ZendStdlibParametersInterface|mixed |
---|
Provide an alternate Parameter Container implementation for env parameters in this object, (this is NOT the primary API for value setting, for that see env())
Parameters: | ParametersInterface – |
---|---|
Return type: | Request |
Return the parameter container responsible for env parameters or a single parameter value.
Parameters: |
|
---|---|
Return type: | ZendStdlibParametersInterface|mixed |
Convert PHP superglobal $_FILES into more sane parameter=value structure This handles form file input with brackets (name=files[])
Return type: | array |
---|
@param array $array
Parameters: |
|
---|
Detect the base URI for the request
Looks at a variety of criteria in order to attempt to autodetect a base URI, including rewrite URIs, proxy URIs, etc.
Return type: | string |
---|
Auto-detect the base path from the request environment
Uses a variety of criteria in order to detect the base URL of the request (i.e., anything additional to the document root).
The base URL includes the schema, host, and port, in addition to the path.
Return type: | string |
---|