You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 812974f, I removed some long-forgotten todo tags, so it might be good to review the code in light of the updated developer guide.
Check Moodle's list of functions that are expected to be in a plugin's lib.php. Are we missing any new ones? Bonus points for deciding if/why we want to implement them.
Determine what the unimplemented functions in mod/zoom/lib.php are supposed to do. Bonus points for deciding if/why we want to implement them.
Check the functions that are currently in mod/zoom/lib.php, but are internal/"local" to the Zoom plugin.
Move all functions from locallib.php and the misplaceed functions in lib.php to appropriately namespaced classes.
These functions should probably have been in locallib.php to begin with, but Moodle's current recommendation is to move supporting functions that do not need to be in lib.php to an autoloaded class in the plugin's classes directory.
Please note that mod_zoom_update_tracking_fields() is set as a callback in the module settings, so this may need to stay in lib.php if set_updatedcallback() does not allow for namespaced class methods.
In 812974f, I removed some long-forgotten todo tags, so it might be good to review the code in light of the updated developer guide.
lib.php
. Are we missing any new ones? Bonus points for deciding if/why we want to implement them.mod/zoom/lib.php
are supposed to do. Bonus points for deciding if/why we want to implement them.mod/zoom/lib.php
, but are internal/"local" to the Zoom plugin.locallib.php
and the misplaceed functions inlib.php
to appropriately namespaced classes.Unimplemented functions
moodle-mod_zoom/lib.php
Lines 439 to 493 in 812974f
moodle-mod_zoom/lib.php
Lines 892 to 979 in 812974f
Misplaced functions
These functions should probably have been in locallib.php to begin with, but Moodle's current recommendation is to move supporting functions that do not need to be in
lib.php
to an autoloaded class in the plugin's classes directory.moodle-mod_zoom/lib.php
Lines 215 to 351 in 812974f
moodle-mod_zoom/lib.php
Lines 553 to 624 in 812974f
moodle-mod_zoom/lib.php
Lines 992 to 1272 in 812974f
The text was updated successfully, but these errors were encountered: