Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12944073
modifiercompiler.cat.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
633 B
Referenced Files
None
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
Tue, Nov 18, 17:03 (14 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3167359
Default Alt Text
modifiercompiler.cat.php (633 B)
Attached To
Mode
rOBSIDIAN Obsidian Workspaces
Attached
Detach File
Event Timeline
Log In to Comment