added clear() method to the input class

Signed-off-by: Dayle Rees <[email protected]>
This commit is contained in:
Dayle Rees
2012-06-16 11:42:25 +01:00
parent 34919aff71
commit e3317324b0
2 changed files with 16 additions and 1 deletions
+9
View File
@@ -287,4 +287,13 @@ class Input {
Request::foundation()->request->replace($input);
}
/**
* Clear the input for the current request.
* @return void
*/
public static function clear()
{
Request::foundation()->request->replace(array());
}
}