/template_engines_bench/libs/smarty-light/src/plugins/modifier.urlencode.php
PHP | 12 lines | 5 code | 0 blank | 7 comment | 0 complexity | b98976ea7fd5d65b65a472d1feda356f MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-2.1
- <?php
- /**
- * Smarty-Light url encode modifier plugin
- *
- * Type: modifier
- * Name: urlencode
- * Purpose: Wrapper for the PHP 'urlencode' function
- */
- function tpl_modifier_urlencode($string) {
- return urlencode($string);
- }
- ?>