ioseb/URoute — pull request #2 by inadarei (2011-11-04 23:26:59+00:00)
Title: Added Data Parsing

Added data parsing for all HTTP Methods.

Existing code only parsed regexp-matched values in the URI, but data can also be sent via:
1. URL Path (for GET)
2. HTTP body (for POST, PUT and DELETE).

After the modification, callback function accepts second argument as well:

```php
class MyController {

public function getPage($params, $data) {
pre($params);
pre($data);
}

public function postPage($params, $data) {
pre($params);
pre($data);
}

}
```