Preference API

Revision as of 09:03, 11 January 2012 by Gerard Caulfield (talk | contribs)

Jump to: navigation, search

Moodle 2.0

WORK IN PROGRESS: I've currently just created a template, so please ignore this page until this wip notices has been removed. However, you are free to help in the construction of this page by improving it. Please review the tion=history edit history if you would like to contact the user who put up this notice. If this article has not been edited by that user in a while, please remove this template.


The goals of Preferences API:

  • example goal


Preference API provides following functionalities:

  1. example functionality

Preference API database table

Field Type Default Info
id int(10) auto-incrementing The unique ID for this preference.
userid int(10) The user that the preference belongs to
timecreated int(10)
timemodified int(10)

Use Preference API

Title for the example goes here

Description of the example:


Title for the second example goes here

Description of the example:


Preference API overview

The Preference API has been implemented in lib/moodlelib.php.


Example function description.

See also