Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (23 sloc) 413 Bytes
<?php
/**
* Smarty modifier for safe output
*
* This modifier escapes string to print out safe string in HTML
*
* The modifier does the same operation as {@link smarty_block_h()}
*
* Example:
* <code>
* {$user->getName()|h}
* </code>
*
* @package Atk14
* @subpackage Helpers
*
*/
/**
* @param string $content content to be escaped
*/
function smarty_modifier_h($content){
return h($content);
}
You can’t perform that action at this time.