Collection of user badges used at the mybadges.php page.
More...
|
| __construct ($badges, $userid) |
| Initializes user badge collection.
|
|
|
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.
- Copyright
- 2012 onwards Totara Learning Solutions Ltd
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_badges\output\badge_user_collection::__construct |
( |
| $badges, |
|
|
| $userid ) |
Initializes user badge collection.
- Parameters
-
array | $badges | Badges to render |
int | $userid | Badges owner |
The documentation for this class was generated from the following file:
- badges/classes/output/badge_user_collection.php