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

Behat data generator for mod_book. More...

Inheritance diagram for behat_mod_book_generator:

Protected Member Functions

 get_book_id (string $bookname)
 Look up the id of a book from its name.
 
 get_creatable_entities ()
 

Detailed Description

Behat data generator for mod_book.

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_book_id()

behat_mod_book_generator::get_book_id ( string $bookname)
protected

Look up the id of a book from its name.

Parameters
string$booknamethe book name, for example 'Test book'.
Return values
intcorresponding id.

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