Collection of all badges for view.php page.
More...
|
| __construct ($badges) |
| Initializes the list of badges to display.
|
|
|
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 | $sort = 'name' |
| how are the data sorted
|
|
int | $totalcount = null |
| the total number of badges to display
|
|
Collection of all badges for view.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_collection::__construct |
( |
| $badges | ) |
|
Initializes the list of badges to display.
- Parameters
-
array | $badges | Badges to render |
The documentation for this class was generated from the following file:
- badges/classes/output/badge_collection.php