Jelix 1.6.40

modifier.cat.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

author

Monte Ohrt

copyright

2001-2003 ispi of Lincoln, Inc.

link
http://smarty.php.net/
link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_modifier_common_cat()  : string
Modifier plugin : catenate a value to a variable

Functions

jtpl_modifier_common_cat()

Modifier plugin : catenate a value to a variable

jtpl_modifier_common_cat(string $string, string $cat) : string
 {$var|cat:"foo"}
 {$var|cat:$othervar}
Parameters
$string : string

the string to be modified

$cat : string

the string to concat to $string

Return values
string

Search results