|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
| file | access.php |
| Capabilities for the My overview block. | |
| file | block_myoverview.php |
| Contains the class for the My overview block. | |
| file | lib.php |
| Library functions for overview. | |
| file | main.php |
| Class containing data for my overview block. | |
| file | provider.php |
| Privacy Subsystem implementation for block_myoverview. | |
| file | renderer.php |
| myoverview block rendrer | |
| file | settings.php |
| Settings for the myoverview block. | |
| file | upgrade.php |
| This file keeps track of upgrades to the myoverview block. | |
| file | version.php |
| Version details for the My overview block. | |
Namespaces | |
| namespace | block_myoverview\output |
| | |
| namespace | block_myoverview\privacy |
| | |
Classes | |
| class | block_myoverview |
| My overview block class. More... | |
| class | block_myoverview\output\main |
| Class containing data for my overview block. More... | |
| class | block_myoverview\output\renderer |
| myoverview block renderer More... | |
| class | block_myoverview\privacy\provider |
| Privacy Subsystem for block_myoverview. More... | |
Functions | |
| block_myoverview_pre_course_delete (\stdClass $course) | |
| Pre-delete course hook to cleanup any records with references to the deleted course. More... | |
| block_myoverview_user_preferences () | |
| Get the current user preferences that are available. More... | |
| xmldb_block_myoverview_upgrade ($oldversion) | |
| Upgrade code for the MyOverview block. More... | |
Variables | |
| $capabilities | |
| $plugin = 2020060900 | |
| const | BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY -1 |
| Allows selection of all courses without a value for the custom field. | |
| const | BLOCK_MYOVERVIEW_DISPLAY_CATEGORIES_OFF 'off' |
| const | BLOCK_MYOVERVIEW_DISPLAY_CATEGORIES_ON 'on' |
| Constants for the admin category display setting. | |
| const | BLOCK_MYOVERVIEW_GROUPING_ALL 'all' |
| const | BLOCK_MYOVERVIEW_GROUPING_ALLINCLUDINGHIDDEN 'allincludinghidden' |
| Constants for the user preferences grouping options. | |
| const | BLOCK_MYOVERVIEW_GROUPING_CUSTOMFIELD 'customfield' |
| const | BLOCK_MYOVERVIEW_GROUPING_FAVOURITES 'favourites' |
| const | BLOCK_MYOVERVIEW_GROUPING_FUTURE 'future' |
| const | BLOCK_MYOVERVIEW_GROUPING_HIDDEN 'hidden' |
| const | BLOCK_MYOVERVIEW_GROUPING_INPROGRESS 'inprogress' |
| const | BLOCK_MYOVERVIEW_GROUPING_PAST 'past' |
| const | BLOCK_MYOVERVIEW_PAGING_12 12 |
| Constants for the user paging preferences. | |
| const | BLOCK_MYOVERVIEW_PAGING_24 24 |
| const | BLOCK_MYOVERVIEW_PAGING_48 48 |
| const | BLOCK_MYOVERVIEW_PAGING_96 96 |
| const | BLOCK_MYOVERVIEW_PAGING_ALL 0 |
| const | BLOCK_MYOVERVIEW_SORTING_LASTACCESSED 'lastaccessed' |
| const | BLOCK_MYOVERVIEW_SORTING_SHORTNAME 'shortname' |
| const | BLOCK_MYOVERVIEW_SORTING_TITLE 'title' |
| Constants for the user preferences sorting options timeline. | |
| const | BLOCK_MYOVERVIEW_VIEW_CARD 'card' |
| Constants for the user preferences view options. | |
| const | BLOCK_MYOVERVIEW_VIEW_LIST 'list' |
| const | BLOCK_MYOVERVIEW_VIEW_SUMMARY 'summary' |
| $plugin | component = 'block_myoverview' |
| $plugin | version = 2020061500 |
| block_myoverview_pre_course_delete | ( | \stdClass | $course | ) |
Pre-delete course hook to cleanup any records with references to the deleted course.
| stdClass | $course | The deleted course |
| block_myoverview_user_preferences | ( | ) |
Get the current user preferences that are available.
| mixed | Array representing current options along with defaults |
| xmldb_block_myoverview_upgrade | ( | $oldversion | ) |
Upgrade code for the MyOverview block.
| int | $oldversion |
| $capabilities |