[PHPTAL] Infinite loop with ArrayObject into tal:repeat and Split deprecated

2009-01-04 Thread G. Sobrinho
Hi all, I'm using the PHPTAL into my framework and its a great job. Tks for it... I have 2 questions. 1. ArrayObject - http://php.net/array_object The PHPTAL have a problem with ArrayObject. When i try to set a template var with instance of ArrayObject and use tal:repeat, this cause a infini

Re: [PHPTAL] Best practices for performance?

2009-01-04 Thread Iván -DrSlump- Montes
Hi Alister, PHPTAL compiles its templates into native PHP code so the runtime overhead is very low. I don't know much about WP's native templating engine but I think to recall it was just some hooks (php functions) being called by the core. In this case PHPTAL would be a tad slower but not enough

[PHPTAL] Re: Problem with my own class in the PHPTAL context

2009-01-04 Thread Szymek Przybył
Check from PHPTAL level, what is in 'user' object: User data: ${repeat/data/key} - ${data} Cheers! szymek ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] Problem with my own class in the PHPTAL context

2009-01-04 Thread Mikael Andersson
Doh! As feared it was a simple misstake, for some reason I thought I had to call session_start() at the very beginning. Moving session_start() until after the classes have bean loaded solved the problem. 2009/1/3 Mikael Andersson > Hi > > Just tried to add a __autoload but still can't get it