On Tue, 2 Oct 2001 12:21:28 +0200 (CEST) "Torben Nehmer" <[EMAIL PROTECTED]> wrote:
> Hi > > I'm currently trying to extend the Midgard Classes with custom > functionality. The basic Idea is to take a standard Midgard Class, put > some of your own stuff to it and rely on the basic infrastructure of > midgard to do all the basic things, only writing code where the custom > things start > > What I've tried looks something like this: <snip> > Do the Midgard Objects provide any way of initializing an object without > having to use the mgd_get_person (or whatever) strategy, perhaps an > $this->init($id) or so? Well, there was at the time I adapted the Midgard Objects infrastructure into PHP4, but due to the lack of documentation of Zend internals I bumped into a bug that prevented to to it reliably, so I just closed the feature. The only workaround for the moment is to copy the parent object member by member. PS: I think if you look into the midgard-php4 source there is still an inactivated (or half-commented) macro that does this (unless the code has changed since...) David > Live long and prosper! > Torben Nehmer > > -- > ICQ-ID : 14148813 --- E-Mail : [EMAIL PROTECTED] > WWW : http://www.nathan-syntronics.de --- http://www.nehmer.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
