util
class util
Middag Local.
Constants
| CAPABILITY_OPEN |
|
| CAPABILITY_VIEW |
|
| CAPABILITY_REPLY |
|
| CAPABILITY_ADD_COMMENT |
|
| CAPABILITY_VIEW_COMMENT |
|
| CAPABILITY_MANAGE |
|
| CAPABILITY_ANALYZER |
|
| CAPABILITY_ATTACHER |
|
Methods
Get all capabilities.
Get all roles.
Get all courses.
Get all workflows.
Get all workflows for use in select input.
Get workflow by id.
Gets fields that cannot be displayed by workflow id.
Get all request types for use in select input.
Get file.
Get default workflow status.
No description
Get current user all roles.
Get action with capabilities.
Set default action.
Get default action.
No description
No description
No description
No description
Details
at line 58
static array
get_capabilites()
Get all capabilities.
at line 77
static array
get_select_roles()
Get all roles.
at line 94
static array
get_select_courses()
Get all courses.
at line 111
static array
get_workflows()
Get all workflows.
at line 132
static array
get_select_workflows()
Get all workflows for use in select input.
at line 152
static string|null
get_workflow_by_idnumber(mixed $idnumber)
Get workflow by id.
at line 172
static array
get_not_displayed_field_by_workflowidnumber(mixed $workflowidnumber)
Gets fields that cannot be displayed by workflow id.
at line 217
static array
get_select_request_types()
Get all request types for use in select input.
at line 244
static array
get_file(mixed $contextid, mixed $component, mixed $filearea, mixed $itemid)
Get file.
at line 264
static array
get_workflow_status()
Get default workflow status.
at line 279
static array
get_default_roles()
No description
at line 293
static array
get_all_user_roles(mixed $userid = 0)
Get current user all roles.
at line 316
static array
get_action_capabilities()
Get action with capabilities.
at line 335
static void
set_default_action(array $formdata)
Set default action.
at line 356
static array
get_default_action()
Get default action.
at line 366
static
get_user_custom_field($fieldidorshortname, $userid = false)
No description
at line 393
static array
get_options_for_user_fields(mixed $includeemailfield = false)
No description
at line 431
static issuance|null
issuance_document($templateid, $user = null, $course = null)
No description
at line 446
static array
get_document_templates_options()
No description