PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/libs/Haanga/Extension/Filter/Urlencode.php

https://bitbucket.org/jonarano/joneame
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | 8ad7bd09a2e3712a17a5db041984a19e MD5 | raw file
Possible License(s): AGPL-1.0
  1. <?php
  2. class Haanga_Extension_Filter_UrlEncode
  3. {
  4. public static function generator($cmp, $args)
  5. {
  6. $cmp->var_is_safe = TRUE;
  7. return hexec('urlencode', $args[0]);
  8. }
  9. }