Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_lp\form\competency_framework Class Reference

Competency framework form. More...

Inheritance diagram for tool_lp\form\competency_framework:

Public Member Functions

 definition ()
 Define the form - called by parent constructor.
 

Protected Member Functions

 extra_validation ($data, $files, array &$errors)
 Extra validation.
 
 get_default_data ()
 Get the default data.
 

Static Protected Member Functions

static convert_fields (stdClass $data)
 Convert some fields.
 

Static Protected Attributes

static $persistentclass = 'core_competency\\competency_framework'
 

Detailed Description

Competency framework form.

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

Member Function Documentation

◆ convert_fields()

static tool_lp\form\competency_framework::convert_fields ( stdClass $data)
staticprotected

Convert some fields.

Parameters
stdClass$data
Return values
object

◆ extra_validation()

tool_lp\form\competency_framework::extra_validation ( $data,
$files,
array & $errors )
protected

Extra validation.

Parameters
stdClass$dataData to validate.
array$filesArray of files.
array$errorsCurrently reported errors.
Return values
arrayof additional errors, or overridden errors.

◆ get_default_data()

tool_lp\form\competency_framework::get_default_data ( )
protected

Get the default data.

Return values
stdClass

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