> 1. We should have a links section in the docs for
> this. Also, maybe just 
> a chapter in the manual on extending classes and
> then a link to the page.

There is something called "Midgard in the press" at
http://www.midgard-project.org/midhoo/Midgard%20in%20the%20press.html,
under the references section.  But I don't know
whether it's a really useful resource because I'm
still wondering whether the idea is worth pursuing for
version 1.4.2... - see the questions in my last
posting (I didn't manage to use the inherited object
method "update" from MidgardArticle into CArticle):

> >But then again, (maybe this is already far off
> topic
> >for this list), I tried:
> >
> >//Torben's CArticle
> >$test_variable = new Carticle(1636);
> >
> >$test_variable->title = "hoho";
> >
> >if ($test_variable->update())
> >{echo " update ok <br>";}
> >else
> >{echo " update not ok for ".mgd_errstr()."<br>";}
> >
> >//the normal stuff
> >$test_variable = mgd_get_article(1636);
> >
> >$test_variable->title = "haha";
> >
> >if ($test_variable->update())
> >{echo " update ok <br>";}
> >else
> >{echo " update not ok for ".mgd_errstr()."<br>";}
> >
> >This gave (on a page with the proper
> authentication):
> >
> >update not ok for MGD_ERR_INVALID_OBJECT
> >update ok 
> >
> >So does this mean that you cannot simply use the
> >inherited object functions such as update() (and
> the
> >rest)?
> >And that you have to override them with your own
> >implementations, using a dummy article you copy
> first
> >your data to and then perform the update() on?
> >
> >Did you pursue on the effort you started at
>
>http://www.nathan-syntronics.de/midgard/oop/extending.html,
> >Torben?

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to