On 07-03-2009 at 09:24:05 Christian Welzel <gaw...@camlann.de> wrote:

i wanted to register my own modifier "number" to the tal-engine,
but get an error, that "number" is already registered. As the original
"number" doesnt do anything but a trim(), i would like to override
it with my own code.

Perhaps default implementation of number: should be improved instead? What 
changes do you need?

So i would like to see a method in PHPTAL_TalesRegistry that allows
either the unregistration of a prefix or a new parameter to registerPrefix() that allows to override existing prefixes.

It's doable, but changes to standard modifiers shouldn't be necessary and/or 
have potential to break lots of things.

--
regards, Kornel



_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to