|
Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
|
Files | |
| file | alignment_exporter.php |
| Contains alignment class for displaying a badge alignment. | |
| file | assertion_exporter.php |
| Contains class for displaying a assertion. | |
| file | auth.php |
| This file to proccess Oauth2 connects for backpack. | |
| file | backpack_api.php |
| Communicate with backpacks. | |
| file | backpack_api2p1.php |
| Communicate with backpacks. | |
| file | backpack_api2p1_mapping.php |
| Represent the url for each method and the encoding of the parameters and response. | |
| file | backpack_api_mapping.php |
| Represent the url for each method and the encoding of the parameters and response. | |
| file | backpack_exporter.php |
| Contains competency class for displaying a badge backpack. | |
| file | badge.php |
| Badge entity. | |
| file | badge_backpack_oauth2.php |
| This file contains the form add/update oauth2 for backpack is connected. | |
| file | badge_issued.php |
| Badge issued entity. | |
| file | badgeclass.php |
| Page to display badge information, such as name, description or criteria. | |
| file | badgeclass_exporter.php |
| Contains class for displaying a badgeclass. | |
| file | badges.php |
| Badges datasource. | |
| file | base_action_bar.php |
| Abstract class for the badges tertiary navigation. | |
| file | behat_core_badges_generator.php |
| Badges test generator for Behat. | |
| file | client.php |
| Configurable OAuth2 client class. | |
| file | collection_exporter.php |
| Contains class for displaying a collection. | |
| file | endorsement_exporter.php |
| Contains endorsement class for displaying a badge endorsement. | |
| file | external.php |
| Badges external API. | |
| file | external_backpack.php |
| External backpack form. | |
| file | external_backpacks_page.php |
| Manage enabled backpacks for the site. | |
| file | external_backpacks_table.php |
| List of enabled backpacks for the site. | |
| file | issuer_exporter.php |
| Contains class for displaying a issuer. | |
| file | lib.php |
| Defines various library functions. | |
| file | lib.php |
| Badges test generator. | |
| file | manage_badge_action_bar.php |
| Class manage_badge_action_bar - Display the action bar. | |
| file | observer.php |
| Event observer for badges. | |
| file | recipient_exporter.php |
| Contains class for displaying a recipient. | |
| file | recipients_action_bar.php |
| Class recipients_action_bar - Display the action bar. | |
| file | related_info_exporter.php |
| Contains related class for displaying information of a related badge. | |
| file | standard_action_bar.php |
| Class standard_action_bar - Display the action bar. | |
| file | upgradelib.php |
| Contains upgrade and install functions for badges. | |
| file | user_badge_exporter.php |
| Contains user badge class for displaying a badge issued to a user. | |
| file | users.php |
| User badges datasource. | |
| file | verification_exporter.php |
| Contains class for displaying a recipient. | |
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 |