Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
behat_mod_lesson_generator Class Reference

Behat data generator for mod_lesson. More...

Inheritance diagram for behat_mod_lesson_generator:

Protected Member Functions

 get_creatable_entities ()
 Get a list of the entities that can be created.
 
 get_lesson_id (string $idnumberorname)
 Look up the id of a lesson from its name.
 

Detailed Description

Behat data generator for mod_lesson.

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

Member Function Documentation

◆ get_creatable_entities()

behat_mod_lesson_generator::get_creatable_entities ( )
protected

Get a list of the entities that can be created.

Return values
arrayentity name => information about how to generate.

◆ get_lesson_id()

behat_mod_lesson_generator::get_lesson_id ( string $idnumberorname)
protected

Look up the id of a lesson from its name.

Parameters
string$idnumberornamethe lesson idnumber or name, for example 'Test lesson'.
Return values
intcorresponding id.

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