Sources for file plugins/smarty/modifier.wordwrap.php in version 2.0 Beta 4
Click on a comment to hide it. Click here to show all comments.
/*
* Smarty plugin
* -------------------------------------------------------------
* Type: modifier
* Name: wordwrap
* Purpose: wrap a string of text at a given length
* -------------------------------------------------------------
*/
function smarty_modifier_wordwrap($string,$length=80,$break="\n",$cut=false)
{
return wordwrap($string,$length,$break,$cut);
}
?>
