Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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. | |
Public Attributes | |
bool | $activity |
$activity optional show activity text. | |
stdClass | $assign |
The assign record. | |
mixed | $context |
context|null the context record. | |
int | $coursemoduleid |
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 |
$showintro Show or hide the intro. | |
string | $subpage |
$subpage Optional subpage (extra level in the breadcrumbs). | |
moodle_url null | $subpageurl |
$subpageurl link for the sub page | |
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. |
stdClass mod_assign\output\assign_header::$assign |
The assign record.
mixed mod_assign\output\assign_header::$context |
context|null the context record.