Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
core_badges\output\badge_alignments Class Reference

Link to external resources this badge is aligned with. More...

Inheritance diagram for core_badges\output\badge_alignments:
renderable

Public Member Functions

 __construct ($alignments, $currentbadgeid)
 Initializes the list of alignments to display. More...
 

Public Attributes

array $alignments = array()
 list of badges.
 
array $currentbadgeid = 0
 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.
 

Detailed Description

Link to external resources this badge is aligned with.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Tung Thai Tung..nosp@m.Thai.nosp@m.Duc@n.nosp@m.asht.nosp@m.echgl.nosp@m.obal.nosp@m..com

Constructor & Destructor Documentation

◆ __construct()

core_badges\output\badge_alignments::__construct (   $alignments,
  $currentbadgeid 
)

Initializes the list of alignments to display.

Parameters
array$alignmentsList alignments to render.
int$currentbadgeidID current badge.

The documentation for this class was generated from the following file: