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

Public Member Functions

 __construct (public stdClass readonly stdClass $course, public stdClass readonly stdClass $oldcourse, public bool readonly bool $changeincoursecat=false,)
 Constructor for the hook.
 

Constructor & Destructor Documentation

◆ __construct()

core_course\hook\after_course_updated::__construct ( public stdClass readonly stdClass $course,
public stdClass readonly stdClass $oldcourse,
public bool readonly bool $changeincoursecat = false )

Constructor for the hook.

Parameters
stdClass$courseThe course instance.
stdClass$oldcourseThe old course instance.
bool$changeincoursecatWhether the course category has changed.
Parameters
$courseThe course instance
$oldcourseThe old course instance
$changeincoursecatWhether the course category has changed

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