MIDDAG for Moodle

student extends base

Table of Contents

Constants

NAME  = 'report_student'

Properties

$context  : mixed

Methods

get_context()  : context
get_exports()  : array<string|int, mixed>
get_form()  : false|object
get_form_class()  : string
get_name()  : string
get_reports()  : array<string|int, mixed>
get_reports_menu()  : array<int, moodle_url, active?: true}>
has_capability()  : bool
has_capability_manage()  : bool
report()  : array<string|int, mixed>
set_context()  : void

Constants

NAME

public mixed NAME = 'report_student'

Properties

$context

public mixed $context

Methods

get_context()

public get_context() : context
Return values
context

get_exports()

public get_exports() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_form()

public get_form([mixed $action = null ][, mixed $customdata = null ][, mixed $method = 'post' ][, mixed $target = '' ][, mixed $attributes = null ][, mixed $editable = true ][, mixed $ajaxformdata = null ]) : false|object
Parameters
$action : mixed = null
$customdata : mixed = null
$method : mixed = 'post'
$target : mixed = ''
$attributes : mixed = null
$editable : mixed = true
$ajaxformdata : mixed = null
Return values
false|object

get_form_class()

public get_form_class() : string
Return values
string

get_name()

public get_name() : string
Return values
string

get_reports()

public static get_reports([mixed $context = false ]) : array<string|int, mixed>
Parameters
$context : mixed = false
Return values
array<string|int, mixed>

get_reports_menu()

public static get_reports_menu([mixed $link = false ]) : array<int, moodle_url, active?: true}>
Parameters
$link : mixed = false
Return values
array<int, moodle_url, active?: true}>

has_capability()

public has_capability([mixed $context = null ][, mixed $capability = 'local/middag:manage' ]) : bool
Parameters
$context : mixed = null
$capability : mixed = 'local/middag:manage'
Return values
bool

has_capability_manage()

public has_capability_manage([mixed $context = null ][, mixed $capability = 'local/middag:manage' ]) : bool
Parameters
$context : mixed = null
$capability : mixed = 'local/middag:manage'
Return values
bool

report()

public report([mixed $formdata = [] ][, string $export = '' ]) : array<string|int, mixed>
Parameters
$formdata : mixed = []
$export : string = ''
Tags
throws
moodle_exception
throws
dml_exception
Return values
array<string|int, mixed>

set_context()

public set_context(mixed $context) : void
Parameters
$context : mixed

        
On this page

Search results