/lib/Haanga/Extension/Filter/Urlencode.php
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | b7f859efef0bc3c4f1387dccdff423c3 MD5 | raw file
- <?php
- class Haanga_Extension_Filter_UrlEncode
- {
- public static function generator($cmp, $args)
- {
- $cmp->var_is_safe = TRUE;
- return hexec('urlencode', $args[0]);
- }
- }