There are several additional plugin functionalities that may prove useful:
getSetting
and updateSetting
functions.$templateMgr->display($this->getTemplatePath() . 'templateName.tpl');
See the native import/export plugin for an example.
getInstallSchemaFile()
and placing the named schema file in the plugin directory, generic
plugins can make use of OJS’s schema-management features. This function is called on OJS install or upgrade.getInstallDataFile()
and placing the named data file in the plugin directory, generic
plugins can make use of OJS’s data installation feature. This function is called on OJS install or upgrade.$this->import('HelperCode'); // imports HelperCode.inc.php