AW: [PHPTAL] Slots - the second...
Kornel Lesiński
kornel at aardvarkmedia.co.uk
Fri Jun 25 16:03:54 CEST 2010
On 25-06-2010 at 11:57:12 Per Bernhardt <plb at webfactory.de> wrote:
> For me it is exactly the other way around :)
>
> When I return true in
> PHPTAL_Php_Attribute_METAL_FillSlot::shouldUseCallback(), my actual
> template works fine!
> Returning false (and so disabling the optimisation) breaks the result.
>
> It is the same with beta and the latest svn.
>
> So maybe you should always use callbacks / optimisation?
There's a setup cost involved for callback, so it doesn't make sense for
very short slots.
I'd rather fix code for both cases.
--
regards, Kornel
More information about the PHPTAL
mailing list