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 »

About PHP

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. PHP is now installed on more than 244 million websites and 2.1 million web servers.[2] Originally created by Rasmus Lerdorf in 1995, the reference implementation of PHP is now produced by The PHP Group.[3] While PHP originally stood for Personal Home Page[4] , it now stands for PHP: Hypertext Preprocessor, a recursive acronym.[5] PHP code is interpreted by

About PHPRead More »