Re: [SMARTY-DEV] register_block() for objects?

From: Date: Mon, 10 Mar 2003 08:53:06 +0000
Subject: Re: [SMARTY-DEV] register_block() for objects?
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-933@lists.php.net to get a copy of this message
From: "Bharat Mediratta" <bharat@menalto.com> ... > > Hi all. In looking through the new OO code, it looks like there's > > no support for registering a block method for an object callback. > > Did I miss something? > > I didn't hear back from anybody on this so I implemented this > against the latest CVS version of Smarty. My patch adds an > optional extra argument to register_object where you can specify > which object methods are block methods. I've updated this patch to apply to the 2.5.0-RC1 codebase (CVS as of 3/10/2003 12:49 PST). As before, the patch can be found here: http://www.menalto.com/.outgoing/smarty/block_method_patch.txt The description of the patch can be found here: http://news.php.net/article.php?group=php.smarty.dev&article=875 I'm assuming from the silence on this topic that you guys are busy getting 2.5.0 out the door and that this is too big a change to go into the release. If there's some other reason why it's unacceptable, please let me know and I'll happily work with you to get it into an acceptable state. -Bharat

« previous php.smarty.dev (#933) next »