Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
My Moodle – a user's personal dashboard. More...
Classes | |
class | my_syspage_block_manager |
Functions | |
my_copy_page (int $userid, int $private=MY_PAGE_PRIVATE, string $pagetype='my-index', string $pagename=MY_PAGE_DEFAULT) | |
This copies a system default page to the current user. | |
my_get_page (?int $userid, int $private=MY_PAGE_PRIVATE, string $pagename=MY_PAGE_DEFAULT) | |
For a given user, this returns the $page information for their My Moodle page. | |
my_reset_page (int $userid, int $private=MY_PAGE_PRIVATE, string $pagetype='my-index', string $pagename=MY_PAGE_DEFAULT) | |
For a given user, this deletes their My Moodle page and returns them to the system default. | |
my_reset_page_for_all_users (int $private=MY_PAGE_PRIVATE, string $pagetype='my-index', ?progress_bar $progressbar=null, string $pagename=MY_PAGE_DEFAULT) | |
Resets the page customisations for all users. | |
Variables | |
const | MY_PAGE_COURSES '__courses' |
const | MY_PAGE_DEFAULT '__default' |
const | MY_PAGE_PRIVATE 1 |
const | MY_PAGE_PUBLIC 0 |
My Moodle – a user's personal dashboard.
This file contains common functions for the dashboard and profile pages.
@subpackage my