Behat data generator for mod_forum.  
 More...
Behat data generator for mod_forum. 
- Copyright
- 2021 Noel De Martin 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ get_creatable_entities()
  
  | 
        
          | behat_mod_forum_generator::get_creatable_entities | ( |  | ) |  |  | protected | 
 
Get a list of the entities that Behat can create using the generator step. 
- Return values
- 
  
  
 
 
◆ get_forum_id()
  
  | 
        
          | behat_mod_forum_generator::get_forum_id | ( | string | $idnumberorname | ) |  |  | protected | 
 
Get the forum id using an activity idnumber or name. 
- Parameters
- 
  
    | string | $idnumberorname | The forum activity idnumber or name. |  
 
- Return values
- 
  
  
 
 
◆ get_group_id()
  
  | 
        
          | behat_mod_forum_generator::get_group_id | ( |  | $idnumber | ) |  |  | protected | 
 
Gets the group id from it's idnumber. 
It allows using 'All participants' as idnumber.
- Exceptions
- 
  
  
- Parameters
- 
  
  
- Return values
- 
  
  
 
 
◆ preprocess_discussion()
  
  | 
        
          | behat_mod_forum_generator::preprocess_discussion | ( | array | $data | ) |  |  | protected | 
 
Preprocess discussion data. 
- Parameters
- 
  
  
- Return values
- 
  
  
 
 
◆ preprocess_post()
  
  | 
        
          | behat_mod_forum_generator::preprocess_post | ( | array | $data | ) |  |  | protected | 
 
Preprocess post data. 
- Parameters
- 
  
  
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file: