Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F390813
modifier.wordwrap.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Subscribers
None
modifier.wordwrap.php
View Options
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty wordwrap modifier plugin
*
* Type: modifier<br>
* Name: wordwrap<br>
* Purpose: wrap a string of text at a given length
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
* wordwrap (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @param string
* @param integer
* @param string
* @param boolean
* @return string
*/
function
smarty_modifier_wordwrap
(
$string
,
$length
=
80
,
$break
=
"
\n
"
,
$cut
=
false
)
{
return
wordwrap
(
$string
,
$length
,
$break
,
$cut
);
}
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Feb 22, 15:27 (22 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25468
Default Alt Text
modifier.wordwrap.php (621 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment