Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F1142107
modifiercompiler.cat.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
665 B
Subscribers
None
modifiercompiler.cat.php
View Options
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty cat modifier plugin
*
* Type: modifier<br>
* Name: cat<br>
* Date: Feb 24, 2003<br>
* Purpose: catenate a value to a variable<br>
* Input: string to catenate<br>
* Example: {$var|cat:"foo"}
*
* @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
* (Smarty online manual)
* @author Uwe Tews
* @param array $params parameters
* @return string with compiled code
*/
function
smarty_modifiercompiler_cat
(
$params
,
$compiler
)
{
return
'('
.
implode
(
').('
,
$params
).
')'
;
}
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Aug 2, 03:41 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25957
Default Alt Text
modifiercompiler.cat.php (665 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment