Commit 97fef0f9 authored by Alain Vagner's avatar Alain Vagner

naming conventions conformity

parent d3f41be2
- securiser les variables get et les paramètres de l'url, et les variables en post si form-urlencoded
- intégration dans front controller framework sur base du préfixe
- gérer les TODO et les FIXME
- cache (p.244)
......
......@@ -30,10 +30,11 @@ class Test1 implements RESTResource {
* @param string $pExt extension
* @param array $pConstraints list of constraints on this resource
*/
public function __construct(HttpRequest $pReq, $pExt = null, $pConstraints = array()) {
public function __construct(RESTHttpRequest $pReq, $pExt = null, $pConstraints = array()) {
$this->myList = array("1", "2", "3");
$this->constraints = $pConstraints;
$this->request = $pReq;
$this->ext = $pExt;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment