MIDDAG for Moodle

action_factory

Table of Contents

Methods

create()  : base_action
get_form_action_class()  : string
return class of action.
get_form_action_class_by_type()  : string
return class of action.
get_form_actions()  : array<string|int, mixed>
update()  : base_action

Methods

get_form_action_class()

return class of action.

public static get_form_action_class(string $name) : string
Parameters
$name : string
Tags
throws
Exception
Return values
string

get_form_action_class_by_type()

return class of action.

public static get_form_action_class_by_type(string $type) : string
Parameters
$type : string
Tags
throws
Exception
Return values
string

get_form_actions()

public static get_form_actions([mixed $form_id = 0 ]) : array<string|int, mixed>
Parameters
$form_id : mixed = 0
Return values
array<string|int, mixed>

        
On this page

Search results