|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Collection of all related badges. More...
Public Member Functions | |
| __construct ($badges, $currentbadgeid) | |
| Initializes the list of badges to display. More... | |
Public Attributes | |
| array | $badges = array() |
| list of badges. | |
| int | $currentbadgeid = 0 |
| the current badge. | |
| string | $dir = 'ASC' |
| how are the data sorted. | |
| int | $page = 0 |
| page number to display. | |
| int | $perpage = BADGE_PERPAGE |
| number of badges to display per page. | |
| string | $sort = 'name' |
| how are the data sorted. | |
| int | $totalcount = null |
| the total number of badges to display. | |
Collection of all related badges.
| core_badges\output\badge_related::__construct | ( | $badges, | |
| $currentbadgeid | |||
| ) |
Initializes the list of badges to display.
| array | $badges | related badges to render. |
| int | $currentbadgeid | ID current badge. |