Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
behat_mod_choice_generator Class Reference
Inheritance diagram for behat_mod_choice_generator:

Protected Member Functions

 get_choice_id (string $idnumberorname)
 Get the choice id using an activity idnumber or name.
 
 get_creatable_entities ()
 Get a list of the entities that Behat can create using the generator step.
 
 preprocess_response (array $data)
 Preprocess answer data.
 

Detailed Description

Member Function Documentation

◆ get_choice_id()

behat_mod_choice_generator::get_choice_id ( string $idnumberorname)
protected

Get the choice id using an activity idnumber or name.

Parameters
string$idnumberornameThe choice activity idnumber or name.
Return values
intThe choice id

◆ get_creatable_entities()

behat_mod_choice_generator::get_creatable_entities ( )
protected

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

Return values
array

◆ preprocess_response()

behat_mod_choice_generator::preprocess_response ( array $data)
protected

Preprocess answer data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

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