Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: