Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

(no description)

File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

behat_mod_glossary_generator:: (5 methods):
  get_creatable_entities()
  get_glossary_id()
  process_category()
  preprocess_entry()
  get_data_generator()


Class: behat_mod_glossary_generator  - X-Ref

Behat data generator for mod_glossary.

get_creatable_entities()   X-Ref
Get a list of the entities that Behat can create using the generator step.

return: array

get_glossary_id(string $idnumber)   X-Ref
Get the glossary id using an activity idnumber.

param: string $idnumber
return: int The glossary id

process_category(array $data)   X-Ref
Add a category.

param: array $data Category data.

preprocess_entry(array $data)   X-Ref
Preprocess entry data.

param: array $data Raw data.
return: array Processed data.

get_data_generator()   X-Ref
Get the module data generator.

return: mod_glossary_generator Glossary data generator.