Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

This file contains the definition for the renderable assign header.

Copyright: 2020 Matt Porritt <mattp@catalyst-au.net>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 87 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

assign_header:: (1 method):
  __construct()


Class: assign_header  - X-Ref

This file contains the definition for the renderable assign header.

__construct(\stdClass $assign,$context,$showintro,$coursemoduleid,$subpage = '',$preface = '',$postfix = '',\moodle_url $subpageurl = null,bool $activity = false)   X-Ref
Constructor

param: \stdClass        $assign          The assign database record.
param: \context|null    $context         The course module context.
param: bool             $showintro       Show or hide the intro.
param: int              $coursemoduleid  The course module id.
param: string           $subpage         An optional sub page in the navigation.
param: string           $preface         An optional preface to show before the heading.
param: string           $postfix         An optional postfix to show after the intro.
param: \moodle_url|null $subpageurl      An optional sub page URL link for the subpage.
param: bool             $activity        Optional show activity text if true.