They are access modifiers and help us implement Encapsulation (or information hiding). They tell the compiler which other classes should have access to the field or method being defined. private – Only the current class will have access to the field or method. protected – Only the current class and subclasses (and sometimes also same-package […]

To create local plugin you can follow following folder structure according to Moodle documentation (https://docs.moodle.org/dev/Local_plugins)- local/ yourplugin/ db/ access.php install.php install.xml lang/ en/ yourplugin.php index.php settings.php version.php Custom /local/ plugins Local plugins are used in cases when no standard plugin fits, examples are: event consumers communicating with external systems custom definitions of web services and

How to create moodle local pluginRead More »