Torben Nehmer wrote:

> Currently (in a version including this fix), objects inherited from
> MidgardEvent were incomplete, causing a MGD_ERR_INVALID_OBJECT Error
> due to the missing fields, took me a day to debug. Thats the main
> reason I'm still telling the people to use such wrapper classes to get
> a clean interface. I did not have time to really test the fixes you
> made, and for the Websites we are currently running... Never change a
> working system, you know ...

Doesn't Zend inheritence bring in the attributes of the class being
inherited?! Incredible.

> BTW: I've tracked down a MMP Bug concerning inheritance, and currently
> I'm hunting the UDF Bug (current Midgard doesn't expand them anymore).
> I've filed it into the bugtracker. If you at any time come around to
> look at it, pleas give me a hint where to fix this.

midgard/lib/src/preparse.l, line 47.
&(var:xg) is changed inline to ${mgd_register_filter('g')}($var); which
means 'get the result from mgd_register_filter('g') and use the returned
string as a function to call on $var'.

MMP doesn't really do anything different from non-MMP where inheritence
is concerned.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to