[PHPTAL] Re: Cannot access $tpl->vars in PHP

2009-06-11 Thread michal
Kornel LesiƄski writes: > > > On 10.06.2009, at 23:57, hosema...@... wrote: > > > Hi how to get $tpl->vars to include them for ex. into array and than > > execue inside template? > > Ex. > > I have defined: > > $tpl = new PHPTAL('tpl/header.tpl'); > > $tpl->title = 'Panel administracyjny'; >

[PHPTAL] Re: Cannot access $tpl->vars in PHP

2009-06-12 Thread michal
Kornel Lesinski writes: > > On 11 Jun 2009, at 18:03, michal wrote: > > > > I have created automatic translation system. > > BTW: PHPTAL has support for custom translation solutions, see > PHPTAL_TranslationService interface. > > > And from the poi

[PHPTAL] Re: Cannot access $tpl->vars in PHP

2009-06-12 Thread michal
Kornel Lesinski writes: > > Well, it certainly wouldn't be faster, because access to variables > from PHPTAL object is quite slow (they are stored in this object). > > And I really don't get it why do you want to use PHPTAL class for > managing translations, rather than some other class tha

[PHPTAL] Truncated macros names in stack trace

2008-01-05 Thread Michal Ludvig
PHPTAL->executeMacro('myproject/saved...') or at line #4 where it says PHPTAL->executeMacro('layout-macros.h...') the most important part, i.e. which macro in layout-macros.html or which template in myproject/saved failed is truncated. Can I somehow get the full list with