Re: [PHPTAL] variable variables in phptal?

2012-08-30 Thread GRolf
great - that works as expected! thanks for the help. GRolf On 29/08/2012 20:07, Piotr Kroczyński wrote: Sorry, I gave you a bad example (I wasn't using phptal for some time), this one is better and simplier: ${field/description}: W dniu 29.08.2012 16:12, Marco Pivetta pisze: Use the Arra

Re: [PHPTAL] variable variables in phptal?

2012-08-29 Thread Piotr Kroczyński
Sorry, I gave you a bad example (I wasn't using phptal for some time), this one is better and simplier: ${field/description}: W dniu 29.08.2012 16:12, Marco Pivetta pisze: Use the ArrayAccess interface and implement your own iterator in your Person object, no? http://php.net/manual/en/cla

Re: [PHPTAL] variable variables in phptal?

2012-08-29 Thread Piotr Kroczyński
If I remember correctly you can use something like this: : W dniu 29.08.2012 16:12, Marco Pivetta pisze: Use the ArrayAccess interface and implement your own iterator in your Person object, no? http://php.net/manual/en/class.arrayaccess.php Marco Pivetta http://twitter.com/Ocramius h

Re: [PHPTAL] variable variables in phptal?

2012-08-29 Thread Marco Pivetta
Use the ArrayAccess interface and implement your own iterator in your Person object, no? http://php.net/manual/en/class.arrayaccess.php Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 29 August 2012 15:39, GRolf wrote: > > > > Is it possible to use variable variables