Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions not following naming conventions #5

Open
danmarsden opened this issue Mar 29, 2020 · 0 comments
Open

functions not following naming conventions #5

danmarsden opened this issue Mar 29, 2020 · 0 comments

Comments

@danmarsden
Copy link

When a plugin implements it's own functions these need to be prefixed with the plugin frankenstlye name..

for example if you have a function called "update_course_module_preferences" the correct name to use would be "block_enhance_update_course_module_preferences" (with the block_enhance used as the prefix)
more info on this is here:
https://docs.moodle.org/dev/Coding_style#Naming_Conventions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant