Class: HTTPRequest
Source Location: /environment.php
Class HTTPRequest
Class Overview
|
Implements interfaces:
A request that fits a standard web environment.
See Request for method details.
Located in /environment.php [line 98]
Author(s):
Information Tags:
|
Methods
|
Methods
void get(
$key, [
$default = Null]
)
|
|
(non-PHPdoc)
Parameters:
API Tags:
| See: | WebCommons/Request::get() |
| Access: | public |
Implementation of:
- Request::get()
- Returns the GET parameter corresponding to $key, or $default if this key is not defined.
(non-PHPdoc)
API Tags:
| See: | WebCommons/Request::method() |
| Access: | public |
Implementation of:
- Request::method()
- Returns the request method, uppercased.
void post(
$key, [
$default = Null]
)
|
|
(non-PHPdoc)
Parameters:
API Tags:
| See: | WebCommons/Request::post() |
| Access: | public |
Implementation of:
- Request::post()
- Returns the POST parameter corresponding to $key, or $default if this key is not defined.
|
|