setup()
setup()
Must create all plugin related tables and insert required default data
Defines the base functions required for a plugin. A plugin is a container holding one or several modules and records required to accomplish a specific task or adding a specific set of features to MindFlow.
init()
Must initialize all the objects required for the plugin to run.
The function will likely make use of the following helpers : $mf->pluginManager->addRecord() add a database record object $mf->pluginManager->loadModule() add frontend / backend / authentification module mfUserGroup::defineUserRight() add a user right restriction check