Re: [SMARTY-CVS] cvs: smarty / NEWS /libs Smarty.class.php

[email protected] (Danilo Buerger) Wed, 20 Jun 2007 00:44:53 +0200
Newsgroups php.smarty.cvs
Message-ID <[email protected]>
Hey,

boots schrieb:
> Hi.
> 
> see: http://www.phpinsider.com/smarty-forum/viewtopic.php?p=31745#31745
> 
> Doing this just for filter plugins doesn't make sense to me. 

Why does it not make sense? All the other (un)register_* functions
expect (un)register_object and (un)register_ressource (which dont expect
a callback) are saved by their function name. There is a seperate
parameter for the callback called "$impl".

> Maybe we can discuss these changes on the dev list first?

I discussed this patch with messju. I didnt see a reason to discuss it
on the list because it doesnt break BC and the old behaviour is anyway
unexpected as it is nowhere documented in the manual.