Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: