Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
|
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. |