Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: