Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: