HTTP Request
A factory that produces a Request object from a well-formed Http Request string
Parameters: | string – |
---|---|
Return type: | Request |
Throws : | ExceptionInvalidArgumentException |
Set the method for this request
Parameters: | string – |
---|---|
Return type: | Request |
Throws : | ExceptionInvalidArgumentException |
Set the URI/URL for this request, this can be a string or an instance of ZendUriHttp
Parameters: | string|HttpUri – |
---|---|
Return type: | Request |
Return the URI for this request object as a string
Return type: | string |
---|
Provide an alternate Parameter Container implementation for query parameters in this object, (this is NOT the primary API for value setting, for that see getQuery())
Parameters: | ZendStdlibParametersInterface – |
---|---|
Return type: | Request |
Return the parameter container responsible for query parameters or a single query parameter
Parameters: |
|
---|---|
Return type: | ZendStdlibParametersInterface|mixed |
Provide an alternate Parameter Container implementation for post parameters in this object, (this is NOT the primary API for value setting, for that see getPost())
Parameters: | ZendStdlibParametersInterface – |
---|---|
Return type: | Request |
Return the parameter container responsible for post parameters or a single post parameter.
Parameters: |
|
---|---|
Return type: | ZendStdlibParametersInterface|mixed |
Return the Cookie header, this is the same as calling $request->getHeaders()->get(‘Cookie’);
Return type: | HeaderCookie |
---|
Provide an alternate Parameter Container implementation for file parameters in this object, (this is NOT the primary API for value setting, for that see getFiles())
Parameters: | ParametersInterface – |
---|---|
Return type: | Request |
Return the parameter container responsible for file parameters or a single file.
Parameters: |
|
---|---|
Return type: | ParametersInterface|mixed |
Return the header container responsible for headers or all headers of a certain name/type
Parameters: |
|
---|---|
Return type: | ZendHttpHeaders|bool|ZendHttpHeaderHeaderInterface|ArrayIterator |
Get all headers of a certain name/type.
Parameters: |
|
---|---|
Return type: | ZendHttpHeaders|bool|ZendHttpHeaderHeaderInterface|ArrayIterator |
Is the request a Javascript XMLHttpRequest?
Should work with Prototype/Script.aculo.us, possibly others.
Return type: | bool |
---|