Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | Static Protected Attributes | List of all members
tool_uploaduser\local\field_value_validators Class Reference

Field validator class. More...

Static Public Member Functions

static validate_theme ($value)
 Validates the value provided for the theme field. More...
 

Static Protected Attributes

static $themescache
 List of valid and compatible themes. More...
 

Detailed Description

Field validator class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ validate_theme()

static tool_uploaduser\local\field_value_validators::validate_theme (   $value)
static

Validates the value provided for the theme field.

Parameters
string$valueThe value for the theme field.
Return values
arrayContains the validation status and message.

Member Data Documentation

◆ $themescache

tool_uploaduser\local\field_value_validators::$themescache
staticprotected

List of valid and compatible themes.

Return values
array

The documentation for this class was generated from the following file: