Public Member Functions | |
| header ($string, $replace=true) | |
| Output a HTTP header, wrapper for PHP's header(). | |
| getheader ($key) | |
| setcookie ($name, $value, $expire=0) | |
| Set the browser cookie. | |
| getcookie ($name) | |
Private Attributes | |
| $headers | |
| $cookies | |
Definition at line 63 of file WebResponse.php.
| FauxResponse::getcookie | ( | $ | name | ) |
| FauxResponse::getheader | ( | $ | key | ) |
Definition at line 75 of file WebResponse.php.
| FauxResponse::header | ( | $ | string, | |
| $ | replace = true | |||
| ) |
Output a HTTP header, wrapper for PHP's header().
| $string | String: header to output | |
| $replace | Bool: replace current similar header |
Reimplemented from WebResponse.
Definition at line 67 of file WebResponse.php.
| FauxResponse::setcookie | ( | $ | name, | |
| $ | value, | |||
| $ | expire = 0 | |||
| ) |
Set the browser cookie.
| $name | String: name of cookie | |
| $value | String: value to give cookie | |
| $expire | Int: number of seconds til cookie expires |
Reimplemented from WebResponse.
Definition at line 79 of file WebResponse.php.
References $name.
FauxResponse::$cookies [private] |
Definition at line 65 of file WebResponse.php.
FauxResponse::$headers [private] |
Definition at line 64 of file WebResponse.php.
1.5.9