summaryrefslogtreecommitdiff
path: root/inc/parser/code.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-09-23 20:08:09 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-09-23 20:08:09 +0200
commit37abef5f8744159697aa2dc18cc468477f2ca965 (patch)
treef159c6c82dcaf4b20f2133db0480d4b084d3d95c /inc/parser/code.php
parent1ee9b48eeac0acdc23d10bc12e2efa22a01f9989 (diff)
downloadrpg-37abef5f8744159697aa2dc18cc468477f2ca965.tar.gz
rpg-37abef5f8744159697aa2dc18cc468477f2ca965.tar.bz2
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');
Diffstat (limited to 'inc/parser/code.php')
0 files changed, 0 insertions, 0 deletions