Home
last modified time | relevance | path

Searched hist:"37 abef5f8744159697aa2dc18cc468477f2ca965" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/_test/tests/inc/
H A Dinput.test.php37abef5f8744159697aa2dc18cc468477f2ca965 Tue Sep 23 18:08:09 UTC 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, stripctl() is used to strip all control chars (ASCII<32)

Examples:

$INPUT->post->filter()->str('foobar');
$INPUT->get->filter('myfilter')->int('baz');