Buy Now
Sign in

Array inside Events not work

ieraora , July 11 2021, 22:39
I
ieraora 155
July 11 2021, 22:39 #396806
Hi, I can try to add an array inside an events, without success.
The array that I can try was {var.join[,]:read_gallerie.Galleria.id_galleria},
If i try {var:read_gallerie.1.Galleria.id_galleria}, it work correctly.
How can I do?
Thanks for replay
Link to emage: https://ibb.co/fxvct2z
I
ieraora 155
July 26 2021, 20:33 #396889
 Answer
Found Solution:
$id_gall_j = $this->get("read_gallerie.[n].Galleria.id_galleria");
$id_gall_j = join('","', $id_gall_j);
return array( "id_gall_j"=> $id_gall_j );