Behat data generator for core_question.
More...
Behat data generator for core_question.
◆ get_question_id()
behat_core_question_generator::get_question_id |
( |
string | $questionname | ) |
|
|
protected |
Look up the id of a question from its name.
- Parameters
-
string | $questionname | the question name, for example 'Question 1'. |
- Return values
-
◆ process_updated_question()
behat_core_question_generator::process_updated_question |
( |
array | $data | ) |
|
|
protected |
Update a question.
This will update a question matching the supplied name with the provided data, creating a new version in the process.
- Parameters
-
array | $data | the row of data from the behat script. |
- Return values
-
The documentation for this class was generated from the following file: