Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Namespaces | |
namespace | block_timeline\output |
| |
namespace | block_timeline\privacy |
| |
Classes | |
class | block_timeline |
Timeline block class. More... | |
class | block_timeline\output\main |
Class containing data for timeline block. More... | |
class | block_timeline\output\renderer |
Timeline block renderer. More... | |
class | block_timeline\privacy\provider |
Privacy Subsystem for block_timeline. More... | |
Functions | |
block_timeline_user_preferences () | |
Returns the name of the user preferences as well as the details this plugin uses. | |
xmldb_block_timeline_install () | |
Add the timeline block to the dashboard for all users by default when it is installed. | |
xmldb_block_timeline_upgrade ($oldversion, $block) | |
Upgrade the timeline block. | |
Variables | |
$capabilities | |
$plugin = 2023041800 | |
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. | |
$plugin | component = 'block_timeline' |
$plugin | version = 2023042400 |
block_timeline_user_preferences | ( | ) |
Returns the name of the user preferences as well as the details this plugin uses.
@uses core_user\is_current_user
array[] |
xmldb_block_timeline_upgrade | ( | $oldversion, | |
$block ) |
Upgrade the timeline block.
int | $oldversion | |
object | $block |
$capabilities |