#
868550d4 |
| 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix incorrect assertion in input_test::test_set()
$INPUT is set to 'test2', but the $_POST checks for 'test'.
|
#
056bf31f |
| 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix various errors in PHPUnit tests on PHP 8
|
#
ccc4c71c |
| 19-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
adjusted the Input clases for PSR2
They are now in their own namespace.
|
#
37abef5f |
| 23-Sep-2014 |
Andreas Gohr <andi@splitbrain.org> |
added filter method to INPUT class
the filter() function can be chained between the accessor and the value function to get a filtered value. When no filter allable is given in the filter() function,
added filter method to INPUT class
the filter() function can be chained between the accessor and the value function to get a filtered value. When no filter allable is given in the filter() function, stripctl() is used to strip all control chars (ASCII<32)
Examples:
$INPUT->post->filter()->str('foobar'); $INPUT->get->filter('myfilter')->int('baz');
show more ...
|
#
61ee3dfc |
| 30-Apr-2014 |
Andreas Gohr <andi@splitbrain.org> |
added another test for arrays
|
#
6920d2fd |
| 30-Apr-2014 |
Andreas Gohr <andi@splitbrain.org> |
add new valid() method to $INPUT #667
|
#
d9e9c1bb |
| 09-Aug-2012 |
Andreas Gohr <andi@splitbrain.org> |
extract method for Input class
makes it easier to access our do parameters
|
#
5d0aaf95 |
| 28-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
treat empty string inputs as unset for int and bool
|
#
591acd87 |
| 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
some Input class fixes and unit tests
|