Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions | Variables
lib.php File Reference

Library functions for overview. 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...
 

Variables

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'
 

Detailed Description

Library functions for overview.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later