Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
assign_header Class Reference

Renderable header. More...

Inheritance diagram for assign_header:
renderable

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)
 

Detailed Description

Renderable header.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

assign_header::__construct ( stdClass  $assign,
  $context,
  $showintro,
  $coursemoduleid,
  $subpage = '',
  $preface = '',
  $postfix = '' 
)

Constructor.

Parameters
stdClass$assign- the assign database record
mixed$contextcontext|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

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