Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_course\hook\after_form_submission Class Reference

Public Member Functions

 __construct (protected stdClass stdClass $data, public bool readonly bool $isnewcourse=false,)
 Creates new hook.
 
 get_data ()
 Returns submitted data.
 

Constructor & Destructor Documentation

◆ __construct()

core_course\hook\after_form_submission::__construct ( protected stdClass stdClass $data,
public bool readonly bool $isnewcourse = false )

Creates new hook.

Parameters
stdClass$dataSubmitted data
bool$isnewcourseWhether this is a new course
Parameters
$dataThe submitted data
$isnewcourseWhether this is a new course

Member Function Documentation

◆ get_data()

core_course\hook\after_form_submission::get_data ( )

Returns submitted data.

Return values
stdClass

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