Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
behat_core_competency_generator Class Reference
Inheritance diagram for behat_core_competency_generator:

Public Member Functions

 process_plan (array $data)
 Add a plan.
 

Protected Member Functions

 get_competency_id (string $idnumber)
 Get the competecy id using an idnumber.
 
 get_competencyframework_id (string $idnumber)
 Get the competecy framework id using an idnumber.
 
 get_creatable_entities ()
 Get a list of the entities that Behat can create using the generator step.
 
 get_data_generator ()
 Get the module data generator.
 
 get_plan_id (string $name)
 Get the learning plan id using a name.
 
 get_relatedcompetency_id (string $idnumber)
 Get the related competecy id using an idnumber.
 
 prepare_grading (array &$data)
 Prepare grading attributes for record data.
 
 preprocess_plan (array $data)
 Preprocess plan data.
 
 preprocess_user_competency (array $data)
 Preprocess user competency data.
 
 preprocess_user_competency_course (array $data)
 Preprocess user course competency data.
 
 preprocess_user_competency_plan (array $data)
 Preprocess user learning plan competency data.
 

Detailed Description

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

Member Function Documentation

◆ get_competency_id()

behat_core_competency_generator::get_competency_id ( string $idnumber)
protected

Get the competecy id using an idnumber.

Parameters
string$idnumber
Return values
intThe competecy id

◆ get_competencyframework_id()

behat_core_competency_generator::get_competencyframework_id ( string $idnumber)
protected

Get the competecy framework id using an idnumber.

Parameters
string$idnumber
Return values
intThe competecy framework id

◆ get_creatable_entities()

behat_core_competency_generator::get_creatable_entities ( )
protected

Get a list of the entities that Behat can create using the generator step.

Return values
array

◆ get_data_generator()

behat_core_competency_generator::get_data_generator ( )
protected

Get the module data generator.

Return values
core_competency_generatorCompetency data generator.

◆ get_plan_id()

behat_core_competency_generator::get_plan_id ( string $name)
protected

Get the learning plan id using a name.

Parameters
string$name
Return values
intThe learning plan id

◆ get_relatedcompetency_id()

behat_core_competency_generator::get_relatedcompetency_id ( string $idnumber)
protected

Get the related competecy id using an idnumber.

Parameters
string$idnumber
Return values
intThe related competecy id

◆ prepare_grading()

behat_core_competency_generator::prepare_grading ( array & $data)
protected

Prepare grading attributes for record data.

Parameters
array$dataRecord data.

◆ preprocess_plan()

behat_core_competency_generator::preprocess_plan ( array $data)
protected

Preprocess plan data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

◆ preprocess_user_competency()

behat_core_competency_generator::preprocess_user_competency ( array $data)
protected

Preprocess user competency data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

◆ preprocess_user_competency_course()

behat_core_competency_generator::preprocess_user_competency_course ( array $data)
protected

Preprocess user course competency data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

◆ preprocess_user_competency_plan()

behat_core_competency_generator::preprocess_user_competency_plan ( array $data)
protected

Preprocess user learning plan competency data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

◆ process_plan()

behat_core_competency_generator::process_plan ( array $data)

Add a plan.

Parameters
array$dataPlan data.

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