Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Collection of user badges used at the mybadges.php page. More...
Public Member Functions | |
__construct ($badges, $userid) | |
Initializes user badge collection. More... | |
Public Attributes | |
array | $backpack = null |
backpack settings | |
array | $badges = array() |
list of badges | |
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 | $search = '' |
search | |
string | $sort = 'name' |
how are the data sorted | |
int | $totalcount = null |
the total number of badges to display | |
Collection of user badges used at the mybadges.php page.
core_badges\output\badge_user_collection::__construct | ( | $badges, | |
$userid | |||
) |
Initializes user badge collection.
array | $badges | Badges to render |
int | $userid | Badges owner |