Moodle 2 API

Moodle 2 API

by james mergenthaler -
Number of replies: 5

Is this the most recent moodle API - im not finding functions referenced in the degugging messages displaying in my moodle 2.0 instance.

http://xref.moodle.org/nav.html?index.html

thank you

Average of ratings: -
In reply to james mergenthaler

Re: Moodle 2 API

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

At the top left of that page it says

PHP Cross Reference of Moodle 1.9.9

And at the bottom it says

Generated: Tue Jun 22 07:57:16 2010

So no. Both that and http://phpdocs.moodle.org/ need to be kicked, I think there are even MDLSITE tickets asking that that be done, but nothing happens. sad

Of course, just downloading the code into a good IDE is a good solution.

In reply to Tim Hunt

Re: Moodle 2 API

by james mergenthaler -

Thanks Tim, even a good IDE is not the same as the searchable, indexed API...that is a very valuable tool, lets hope a 2.0 version appears soon. Ill go vote for this to get kicked  wink

In reply to james mergenthaler

Re: Moodle 2 API

by Troy Williams -
Picture of Plugin developers

Hi,

I have been using Netbeans for a couple of years now. Add Moodle source as new project and give it a few minutes, it will index providing code completion functionality. I also have the navigator window pinned on my workspace. Lists classes, functions, variables. Useful things like right-clicking on parent class to go to declaration. Powerful search/replace capabilites. I use to maintain own xref as had some custom code but have given that up as is more time consuming than adding a new project in Netbeans.

Regards,

Troysmile

In reply to Troy Williams

Re: Moodle 2 API

by Anne Krijger -

Netbeans qualifies as a "good IDE".

As does Eclipse, which I'm using.

Anne.