Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
Namespaces | |
namespace | core_badges |
| |
namespace | core_badges\external |
| |
namespace | core_badges\form |
| |
namespace | core_badges\oauth2 |
| |
namespace | core_badges\output |
| |
namespace | core_badges\privacy |
| |
namespace | core_badges\reportbuilder\datasource |
| |
namespace | core_badges\reportbuilder\local\entities |
| |
Functions | |
badges_install_default_backpacks () | |
Called on install or upgrade to create default list of backpacks a user can connect to. | |
core_badges_myprofile_navigation (\core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. | |
badges_install_default_backpacks | ( | ) |
Called on install or upgrade to create default list of backpacks a user can connect to.
Don't use the global defines from badgeslib because this is for install/upgrade.
void |
core_badges_myprofile_navigation | ( | \core_user\output\myprofile\tree | $tree, |
$user, | |||
$iscurrentuser, | |||
$course ) |
Add nodes to myprofile page.
core_user\output\myprofile\tree | $tree | Tree object |
stdClass | $user | user object |
bool | $iscurrentuser | |
stdClass | $course | Course object |
bool |