Note:

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

Talk:Subplugins

From MoodleDocs
Revision as of 14:19, 24 September 2011 by F P (talk | contribs) (more details please !)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

"A sub-plugin has the same structure as a regular plugin. It will have a version.php, a lang directory, and can have a db directory with an install.xml and all the other hooks you'd expect to see used in any other type of plugin, such as an activity, block, or admin report."

This part is unclear. None of the actual subplugins of the Moodle distribution have this structure. What hooks precisely can be used in a subplugin ? What file names, what function names, what classes are needed to get it all working ?

Thanks,

F P 22:19, 24 September 2011 (WST)