Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
behat_mod_glossary_generator Class Reference
Inheritance diagram for behat_mod_glossary_generator:

Public Member Functions

 process_category (array $data)
 Add a category.
 

Protected Member Functions

 get_creatable_entities ()
 Get a list of the entities that Behat can create using the generator step.
 
 get_data_generator ()
 Get the module data generator.
 
 get_glossary_id (string $idnumber)
 Get the glossary id using an activity idnumber.
 
 preprocess_entry (array $data)
 Preprocess entry data.
 

Detailed Description

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

Member Function Documentation

◆ get_creatable_entities()

behat_mod_glossary_generator::get_creatable_entities ( )
protected

Get a list of the entities that Behat can create using the generator step.

Return values
array

◆ get_data_generator()

behat_mod_glossary_generator::get_data_generator ( )
protected

Get the module data generator.

Return values
mod_glossary_generatorGlossary data generator.

◆ get_glossary_id()

behat_mod_glossary_generator::get_glossary_id ( string $idnumber)
protected

Get the glossary id using an activity idnumber.

Parameters
string$idnumber
Return values
intThe glossary id

◆ preprocess_entry()

behat_mod_glossary_generator::preprocess_entry ( array $data)
protected

Preprocess entry data.

Parameters
array$dataRaw data.
Return values
arrayProcessed data.

◆ process_category()

behat_mod_glossary_generator::process_category ( array $data)

Add a category.

Parameters
array$dataCategory data.

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