marmotteabbas / local_kekulejs

The local moodle plugin of the kekule set plugins.
0 stars 0 forks source link

kekulejs_configs class in wrong place (lib.php) and not namespaced or prefixed #2

Open danmarsden opened 4 years ago

danmarsden commented 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