twilio_verified extends user_filter_type
Table of Contents
Properties
Methods
- check_data() : mixed
- get_label() : string
- Returns a human friendly description of the filter used as label.
- get_sql_filter() : array<string|int, mixed>|string
- Returns the condition to be used with SQL where.
- setupForm() : void
- Adds controls specific to this filter in the form.
Properties
$_label
public
mixed
$_label
$_name
public
mixed
$_name
Methods
check_data()
public
check_data(mixed $formdata) : mixed
Parameters
- $formdata : mixed
get_label()
Returns a human friendly description of the filter used as label.
public
get_label(array<string|int, mixed> $data) : string
Parameters
- $data : array<string|int, mixed>
-
filter settings
Return values
string —active filter label
get_sql_filter()
Returns the condition to be used with SQL where.
public
get_sql_filter(array<string|int, mixed> $data) : array<string|int, mixed>|string
Parameters
- $data : array<string|int, mixed>
-
filter settings
Return values
array<string|int, mixed>|string —sql string and $params
setupForm()
Adds controls specific to this filter in the form.
public
setupForm(moodleform &$mform) : void
Parameters
- $mform : moodleform
-
a MoodleQuickForm object in which element will be added