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 […]
Month: January 2020
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
Sending headers earlier than the normal course may have far reaching consequences. Below are just a few of them that happened to come to my mind at the moment: While current PHP releases may have output buffering on, the actual production servers you will be deploying your code on are far more important than any
Recent Comments