- Copyright
- 2022 Noel De Martin
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_competency_id()
behat_core_competency_generator::get_competency_id |
( |
string | $idnumber | ) |
|
|
protected |
Get the competency id using an idnumber.
- Parameters
-
- Return values
-
◆ get_competencyframework_id()
behat_core_competency_generator::get_competencyframework_id |
( |
string | $idnumber | ) |
|
|
protected |
Get the competency framework id using an idnumber.
- Parameters
-
- Return values
-
int | The competency framework id |
◆ get_context_id()
behat_core_competency_generator::get_context_id |
( |
string | $contextid | ) |
|
|
protected |
Get the context id using a contextid.
- Parameters
-
string | $contextid | Context id. |
- Return values
-
◆ 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
-
◆ get_data_generator()
behat_core_competency_generator::get_data_generator |
( |
| ) |
|
|
protected |
Get the module data generator.
- Return values
-
◆ get_plan_id()
behat_core_competency_generator::get_plan_id |
( |
string | $name | ) |
|
|
protected |
Get the learning plan id using a name.
- Parameters
-
- Return values
-
◆ get_relatedcompetency_id()
behat_core_competency_generator::get_relatedcompetency_id |
( |
string | $idnumber | ) |
|
|
protected |
Get the related competency id using an idnumber.
- Parameters
-
- Return values
-
int | The related competency id |
◆ get_status_id()
behat_core_competency_generator::get_status_id |
( |
string | $name | ) |
|
|
protected |
Get the status id by status name.
- Parameters
-
- Return values
-
◆ get_template_id()
behat_core_competency_generator::get_template_id |
( |
string | $shortname | ) |
|
|
protected |
Get the template id by shortname.
- Parameters
-
string | $shortname | The template name. |
- Return values
-
◆ get_templatecompetency_id()
behat_core_competency_generator::get_templatecompetency_id |
( |
string | $name | ) |
|
|
protected |
Get the template competency id using a name.
- Parameters
-
string | $name | Template competency name. |
- Return values
-
int | The template competency id |
◆ get_userevidence_id()
behat_core_competency_generator::get_userevidence_id |
( |
string | $name | ) |
|
|
protected |
Get the user evidence id using a name.
- Parameters
-
string | $name | User evidence name. |
- Return values
-
◆ prepare_grading()
behat_core_competency_generator::prepare_grading |
( |
array & | $data | ) |
|
|
protected |
Prepare grading attributes for record data.
- Parameters
-
◆ preprocess_plan()
behat_core_competency_generator::preprocess_plan |
( |
array | $data | ) |
|
|
protected |
Preprocess plan data.
- Parameters
-
- Return values
-
◆ preprocess_user_competency()
behat_core_competency_generator::preprocess_user_competency |
( |
array | $data | ) |
|
|
protected |
Preprocess user competency data.
- Parameters
-
- Return values
-
◆ preprocess_user_competency_course()
behat_core_competency_generator::preprocess_user_competency_course |
( |
array | $data | ) |
|
|
protected |
Preprocess user course competency data.
- Parameters
-
- Return values
-
◆ preprocess_user_competency_plan()
behat_core_competency_generator::preprocess_user_competency_plan |
( |
array | $data | ) |
|
|
protected |
Preprocess user learning plan competency data.
- Parameters
-
- Return values
-
◆ process_plan()
behat_core_competency_generator::process_plan |
( |
array | $data | ) |
|
The documentation for this class was generated from the following file:
- competency/tests/generator/behat_core_competency_generator.php