|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Renderable header. More...
Public Member Functions | |
| __construct (stdClass $assign, $context, $showintro, $coursemoduleid, $subpage='', $preface='', $postfix='') | |
| Constructor. More... | |
Public Attributes | |
| stdClass | $assign = null |
| the assign record | |
| mixed | $context = null |
| context|null the context record | |
| int | $coursemoduleid = 0 |
| coursemoduleid - The course module id | |
| string | $postfix = '' |
| $postfix optional postfix (text to show after the intro) | |
| string | $preface = '' |
| $preface optional preface (text to show before the heading) | |
| bool | $showintro = false |
| $showintro - show or hide the intro | |
| string | $subpage = '' |
| $subpage optional subpage (extra level in the breadcrumbs) | |
Renderable header.
| assign_header::__construct | ( | stdClass | $assign, |
| $context, | |||
| $showintro, | |||
| $coursemoduleid, | |||
$subpage = '', |
|||
$preface = '', |
|||
$postfix = '' |
|||
| ) |
Constructor.
| stdClass | $assign | - the assign database record |
| mixed | $context | context|null the course module context |
| bool | $showintro | - show or hide the intro |
| int | $coursemoduleid | - the course module id |
| string | $subpage | - an optional sub page in the navigation |
| string | $preface | - an optional preface to show before the heading |