Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Moodle API Function List: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
=Proposal for expansion of the API=
=Proposal for expansion of the API=
''by Ludo's team UPC''
''by Ludo's team UPC''
==Course==
 
== Admin ==
== Blocks ==
== Blog ==
== Calendar ==
 
== Course ==


  get_course_activities($courseid=0, $groupid=null) // return the list of activity {id, name, type}  
  get_course_activities($courseid=0, $groupid=null) // return the list of activity {id, name, type}  
Line 7: Line 13:
  get_course_resources($courseid=0, $groupid=null)  // return the list of {id,. resource, type}
  get_course_resources($courseid=0, $groupid=null)  // return the list of {id,. resource, type}


===Course Format===
=== Course Format ===
  get_course_outline($courseid=0, $groupid=null) // to discuss, maybe xml stuff
  get_course_outline($courseid=0, $groupid=null) // to discuss, maybe xml stuff


Line 13: Line 19:


TODO: define course outline xml dtd
TODO: define course outline xml dtd
== Grade ==
== Group ==
== Mod ==
=== Assignment ==
=== Chat ===
=== Choice ===
=== Data ===
=== Feedback ===
=== Forum ===
=== Glossary ===
=== Lesson ===
=== Quiz ===
=== Resource ===
=== Scorm ===
=== Survey ===
=== Wiki ===
== Portfolio ==
== Repository ==
== Search ==
== Tag ==
== User ==

Revision as of 09:16, 29 January 2009

Proposal for expansion of the API

by Ludo's team UPC

Admin

Blocks

Blog

Calendar

Course

get_course_activities($courseid=0, $groupid=null) // return the list of activity {id, name, type} 
 
get_course_resources($courseid=0, $groupid=null)  // return the list of {id,. resource, type}

Course Format

get_course_outline($courseid=0, $groupid=null) // to discuss, maybe xml stuff

get_course_outline would be a nice to have from the webservices consumer app. If an external app needs to render the moodle course, need's more than just activities and resources, it needs to know how to display it. this function whould be implemented by the course format.

TODO: define course outline xml dtd


Grade

Group

Mod

= Assignment

Chat

Choice

Data

Feedback

Forum

Glossary

Lesson

Quiz

Resource

Scorm

Survey

Wiki

Portfolio

Repository

Search

Tag

User