Public Member Functions | |
| __construct ($views) | |
| get ($page, $params=array()) | |
| post ($page, $params=array(), $files=array()) | |
| parseRedirect ($location) | |
Public Attributes | |
| $views = '' | |
| $dispatcher = '' | |
| $cookies = array() | |
Protected Member Functions | |
| clean ($keepcookies=true) | |
| dispatch ($page) | |
Usage: $client = new Pluf_Test_Client('./path/to/app-views.php'); $response = $client->get('/the/page/', array('var'=>'toto')); $response is now the Pluf_HTTP_Response
| Pluf_Test_Client::__construct | ( | $ | views | ) |
| Pluf_Test_Client::clean | ( | $ | keepcookies = true |
) | [protected] |
| Pluf_Test_Client::dispatch | ( | $ | page | ) | [protected] |
| Pluf_Test_Client::get | ( | $ | page, | |
| $ | params = array() | |||
| ) |
| Pluf_Test_Client::post | ( | $ | page, | |
| $ | params = array(), |
|||
| $ | files = array() | |||
| ) |
| Pluf_Test_Client::parseRedirect | ( | $ | location | ) |
| Pluf_Test_Client::$views = '' |
| Pluf_Test_Client::$dispatcher = '' |
| Pluf_Test_Client::$cookies = array() |