Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
behat_mod_quiz_generator Class Reference

Behat data generator for mod_quiz. More...

Inheritance diagram for behat_mod_quiz_generator:

Protected Member Functions

 get_creatable_entities ()
 
 get_quiz_id (string $quizname)
 Look up the id of a quiz from its name.
 

Detailed Description

Behat data generator for mod_quiz.

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

Member Function Documentation

◆ get_quiz_id()

behat_mod_quiz_generator::get_quiz_id ( string $quizname)
protected

Look up the id of a quiz from its name.

Parameters
string$quiznamethe quiz name, for example 'Test quiz'.
Return values
intcorresponding id.

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