June 2017
Beginner to intermediate
368 pages
8h 31m
English
The next step is to create a new file, /lib.php, which will contain the plugin's library callback functions:

Each function in this script will be prefixed with the name of the module wavefront_. For example, the wavefront_supports()function is called by the module framework to determine what features our wavefront renderer provides:
function wavefront_supports($feature){ switch($feature) { case FEATURE_MOD_ARCHETYPE: return MOD_ARCHETYPE_RESOURCE; case FEATURE_GROUPS: return false; case FEATURE_GROUPINGS: return false; case FEATURE_MOD_INTRO: return true; case FEATURE_COMPLETION_TRACKS_VIEWS: return true; case FEATURE_GRADE_HAS_GRADE: ...Read now
Unlock full access