tags:

views:

468

answers:

1

Hi!

I need in smarty template to transmit to function concatenated string constant with variable value, How can i do it?

some example code: {$obj->calledFunc('string const').$var} but . operator doesn't work

A: 

Use the cat modifier:

{$obj->calledFunc('string const')|cat:$var}
Deebster