Add a basic task search

This commit is contained in:
Frédéric Guillot
2014-04-27 15:14:13 -04:00
parent 6551609d1b
commit 096b282a47
12 changed files with 231 additions and 8 deletions

View File

@@ -43,4 +43,9 @@ class Request
return '';
}
public function isPost()
{
return isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST';
}
}