Fabien Mas
Wednesday 28 February 2007 5:15:19 am
In a template, is it possible to send a virable by reference to one of my personnal operators ?
{ $counter|myOperator(&$cpt,"case1","case2") }
Betsy Gamrat
Wednesday 28 February 2007 6:47:02 am
You might try
{def $myVar=myOperator("case1","case2")}
Wednesday 28 February 2007 6:57:46 am
Actually, in my operator I increase the value of $cpt, and I would like not to do it in my template. I alos don't want to send back an array from my operator to my template