Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 

Static Protected Attributes

static $themescache
 List of valid and compatible themes.
 

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: