|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
This file contains the definition for the renderable assign header. More...
Public Member Functions | |
| __construct (stdClass $assign, $context, $showintro, $coursemoduleid, $subpage='', $preface='', $postfix='', ?\moodle_url $subpageurl=null, bool $activity=false) | |
| Constructor. | |
This file contains the definition for the renderable assign header.
| mod_assign\output\assign_header::__construct | ( | stdClass | $assign, |
| $context, | |||
| $showintro, | |||
| $coursemoduleid, | |||
| $subpage = '', | |||
| $preface = '', | |||
| $postfix = '', | |||
| ?\moodle_url | $subpageurl = null, | ||
| bool | $activity = false ) |
Constructor.
| stdClass | $assign | The assign database record. |
| context | null | $context | 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. |
| string | $postfix | An optional postfix to show after the intro. |
| moodle_url | null | $subpageurl | An optional sub page URL link for the subpage. |
| bool | $activity | Optional show activity text if true. |