This still initializes all 300 prefixes, while the goal is to initialize
them either:
1) on-demand, or
2) by declaring prefixes in page / view / controller classes - for
prefixes which are unique for particular template usage
However I can see that each prefix registered is not more then an entry
On Fri, 03 Jun 2011 08:12:19 +0100, Anton Andriyevskyy
wrote:
Currently in PHPTAL I don't think it's possible, but you could easily
modify PHPTAL to do it.
See PHPTAL_TalesRegistry->findUnregisteredCallback — loop through your
classes there.
Alternatively, you could register all prefi
Hello.
>From the source code I can see that I'm able to use modifiers like
"className.methodName"
if my class named className implements PHPTAL_Tales.
What is bad here is that:
1. I have multiple classes implementing phptal modifiers (for better
categorization)
and
2. Their names are long
*Q1.*