Open danmarsden opened 4 years ago
Ideally custom classes should be in the classes folder within a plugin and they must either be namespaced or prefixed using the frankenstyle plugin name eg: class local_kekulejs_config() or: namespace local_kekulejs class config()
here's an example local plugin using namespacing: https://github.com/catalyst/moodle-local_csp/blob/master/classes/helper.php#L26
Ideally custom classes should be in the classes folder within a plugin and they must either be namespaced or prefixed using the frankenstyle plugin name eg: class local_kekulejs_config() or: namespace local_kekulejs class config()
here's an example local plugin using namespacing: https://github.com/catalyst/moodle-local_csp/blob/master/classes/helper.php#L26