Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
question_filter_test_helper Class Reference

Provide utility function for random question test. More...

Static Public Member Functions

static create_filters (array $categoryids, bool $recursive=false, array $qtagids=[])
 Create filters base on provided values.
 

Detailed Description

Provide utility function for random question test.

Author
Nathan Nguyen natha.nosp@m.nngu.nosp@m.yen@c.nosp@m.atal.nosp@m.yst-a.nosp@m.u.ne.nosp@m.t
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ create_filters()

static question_filter_test_helper::create_filters ( array $categoryids,
bool $recursive = false,
array $qtagids = [] )
static

Create filters base on provided values.

Parameters
array$categoryidsquestion category filter
bool$recursivesubcategories filter
array$qtagidstags filter
Return values
array

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