Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
lib.php File Reference

Functions

 block_timeline_user_preferences ()
 Returns the name of the user preferences as well as the details this plugin uses.
 

Variables

const BLOCK_TIMELINE_ACTIVITIES_LIMIT_DEFAULT 5
 
const BLOCK_TIMELINE_FILTER_BY_30_DAYS 'next30days'
 
const BLOCK_TIMELINE_FILTER_BY_3_MONTHS 'next3months'
 
const BLOCK_TIMELINE_FILTER_BY_6_MONTHS 'next6months'
 
const BLOCK_TIMELINE_FILTER_BY_7_DAYS 'next7days'
 
const BLOCK_TIMELINE_FILTER_BY_NONE 'all'
 Define constants to store the FILTER user preference.
 
const BLOCK_TIMELINE_FILTER_BY_OVERDUE 'overdue'
 
const BLOCK_TIMELINE_SORT_BY_COURSES 'sortbycourses'
 
const BLOCK_TIMELINE_SORT_BY_DATES 'sortbydates'
 Define constants to store the SORT user preference.