Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_quiz\hook\structure_modified Class Reference

Public Member Functions

 __construct (protected structure structure $structure)
 Create a new hook with the modified structure.
 
 get_structure ()
 Returns the new structure of the quiz.
 

Constructor & Destructor Documentation

◆ __construct()

mod_quiz\hook\structure_modified::__construct ( protected structure structure $structure)

Create a new hook with the modified structure.

Parameters
structure$structureThe new structure.
Parameters
$structureThe new structure

Member Function Documentation

◆ get_structure()

mod_quiz\hook\structure_modified::get_structure ( )

Returns the new structure of the quiz.

Return values
structureThe structure object.

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