X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=inline;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Fmodifier.cat.php;fp=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Fmodifier.cat.php;h=8dc7324041c35ef34d902d23ee80f0af3cd46103;hb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;hp=0000000000000000000000000000000000000000;hpb=dcee763368a1e3f380d07320a5254d91a09304e6;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/node_methodz/modifier.cat.php b/wwwroot/inc/smarty/node_methodz/modifier.cat.php new file mode 100644 index 0000000..8dc7324 --- /dev/null +++ b/wwwroot/inc/smarty/node_methodz/modifier.cat.php @@ -0,0 +1,33 @@ + + * Name: cat
+ * Date: Feb 24, 2003 + * Purpose: catenate a value to a variable + * Input: string to catenate + * Example: {$var|cat:"foo"} + * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat + * (Smarty online manual) + * @author Monte Ohrt + * @version 1.0 + * @param string + * @param string + * @return string + */ +function smarty_modifier_cat($string, $cat) +{ + return $string . $cat; +} + +/* vim: set expandtab: */ + +?>