MIDDAG for Moodle

workinghours_form_element extends MoodleQuickForm_textarea uses templatable_form_element

Table of Contents

Properties

$courses  : array<string|int, mixed>

Methods

__construct()  : mixed
Constructor.
accept()  : void
export_for_template()  : mixed
toHtml()  : mixed

Properties

Methods

__construct()

Constructor.

public __construct([string $elementName = null ][, mixed $elementLabel = null ][, mixed $attributes = null ]) : mixed
Parameters
$elementName : string = null

Element name

$elementLabel : mixed = null

Label(s) for an element

$attributes : mixed = null

either a typical HTML attribute string or an associative array

accept()

public accept(mixed &$renderer[, mixed $required = false ][, mixed $error = null ]) : void
Parameters
$renderer : mixed
$required : mixed = false
$error : mixed = null

export_for_template()

public export_for_template(renderer_base $output) : mixed
Parameters
$output : renderer_base

        
On this page

Search results