array filtering support in Request ( fetchGlobal ) | force filter usage ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: array filtering support in Request ( fetchGlobal ) | force filter usage ? (/showthread.php?tid=68395) |
array filtering support in Request ( fetchGlobal ) | force filter usage ? - puschie - 07-05-2017 Hey, it would be nice to have an array filtering in fetchglobal - currently i have some helper functions for specific/easy scenarios like numeric array: PHP Code: public function getPostArray( $index, $filter ) would be a great improvement for security. ( i would also force the user to use filters - i know you can still directly access but sometimes you forgott it and so on ) |