Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
tool_brickfield\eventobservers Class Reference

Static Public Member Functions

static book_chapter_created (\mod_book\event\chapter_created $event)
 Book chapter created event observer.
 
static book_chapter_deleted (\mod_book\event\chapter_deleted $event)
 Book chapter deleted event observer.
 
static book_chapter_updated (\mod_book\event\chapter_updated $event)
 Book chapter update event observer.
 
static core_question_created (\core\event\question_created $event)
 core_question created observer
 
static core_question_deleted (\core\event\question_deleted $event)
 core_question deleted observer
 
static core_question_updated (\core\event\question_updated $event)
 core_question updated observer
 
static course_altered (base $event)
 Course update event observer.
 
static course_category_created (\core\event\course_category_created $event)
 course_category created event observer.
 
static course_category_deleted (\core\event\course_category_deleted $event)
 course_category deleted event observer.
 
static course_category_updated (\core\event\course_category_updated $event)
 course_category update event observer.
 
static course_created (\core\event\course_created $event)
 Course event observers.
 
static course_deleted (\core\event\course_deleted $event)
 Course deleted event observer.
 
static course_module_created (\core\event\course_module_created $event)
 Course module event observers.
 
static course_module_deleted (\core\event\course_module_deleted $event)
 Course module deleted event observer.
 
static course_module_restored (\core\event\course_module_restored $event)
 Course module restored event observer.
 
static course_module_updated (\core\event\course_module_updated $event)
 Course module updated event observer.
 
static course_restored (\core\event\course_restored $event)
 Course restored event observer.
 
static course_section_created (\core\event\course_section_created $event)
 Course section created event observer.
 
static course_section_deleted (\core\event\course_section_deleted $event)
 Course section deleted event observer.
 
static course_section_updated (\core\event\course_section_updated $event)
 Course section update event observer.
 
static course_updated (\core\event\course_updated $event)
 Course update event observer.
 
static mod_lesson_page_created (\mod_lesson\event\page_created $event)
 mod_lesson_page created event observer.
 
static mod_lesson_page_deleted (\mod_lesson\event\page_deleted $event)
 mod_lesson_page deleted event observer.
 
static mod_lesson_page_updated (\mod_lesson\event\page_updated $event)
 mod_lesson_page updated event observer.
 

Member Function Documentation

◆ book_chapter_created()

static tool_brickfield\eventobservers::book_chapter_created ( \mod_book\event\chapter_created $event)
static

Book chapter created event observer.

Parameters
mod_book\event\chapter_created$eventThe book chapter created event.
Exceptions
ReflectionException
dml_exception

◆ book_chapter_deleted()

static tool_brickfield\eventobservers::book_chapter_deleted ( \mod_book\event\chapter_deleted $event)
static

Book chapter deleted event observer.

Parameters
mod_book\event\chapter_deleted$eventThe book chapter deleted event.
Exceptions
dml_exception

◆ book_chapter_updated()

static tool_brickfield\eventobservers::book_chapter_updated ( \mod_book\event\chapter_updated $event)
static

Book chapter update event observer.

Parameters
mod_book\event\chapter_updated$eventThe book chapter updated event.
Exceptions
ReflectionException
dml_exception

◆ core_question_created()

static tool_brickfield\eventobservers::core_question_created ( \core\event\question_created $event)
static

core_question created observer

Parameters
core\event\question_created$eventThe core_question created event.
Exceptions
ReflectionException
dml_exception

◆ core_question_deleted()

static tool_brickfield\eventobservers::core_question_deleted ( \core\event\question_deleted $event)
static

core_question deleted observer

Parameters
core\event\question_deleted$eventThe core_question deleted event.
Exceptions
dml_exception

◆ core_question_updated()

static tool_brickfield\eventobservers::core_question_updated ( \core\event\question_updated $event)
static

core_question updated observer

Parameters
core\event\question_updated$eventThe core_question created event.
Exceptions
ReflectionException
dml_exception

◆ course_altered()

static tool_brickfield\eventobservers::course_altered ( base $event)
static

Course update event observer.

This is called on both course_created and course_updated, so use the base class as a type hint.

Parameters
base$eventThe course updated event.
Exceptions
ReflectionException
dml_exception

◆ course_category_created()

static tool_brickfield\eventobservers::course_category_created ( \core\event\course_category_created $event)
static

course_category created event observer.

Parameters
core\event\course_category_created$eventThe course_category created event.
Exceptions
ReflectionException
dml_exception

◆ course_category_deleted()

static tool_brickfield\eventobservers::course_category_deleted ( \core\event\course_category_deleted $event)
static

course_category deleted event observer.

Parameters
core\event\course_category_deleted$eventThe course_category deleted event.
Exceptions
dml_exception

◆ course_category_updated()

static tool_brickfield\eventobservers::course_category_updated ( \core\event\course_category_updated $event)
static

course_category update event observer.

Parameters
core\event\course_category_updated$eventThe course_category updated event.
Exceptions
ReflectionException
dml_exception

◆ course_created()

static tool_brickfield\eventobservers::course_created ( \core\event\course_created $event)
static

Course event observers.

These observer monitors course created / restored / updated events, then its HTML content is processed with accessibility checking. Course created event observer.

Parameters
core\event\course_created$eventThe course created event.
Exceptions
ReflectionException
dml_exception

◆ course_deleted()

static tool_brickfield\eventobservers::course_deleted ( \core\event\course_deleted $event)
static

Course deleted event observer.

Parameters
core\event\course_deleted$eventThe course deleted event.
Exceptions
dml_exception

◆ course_module_created()

static tool_brickfield\eventobservers::course_module_created ( \core\event\course_module_created $event)
static

Course module event observers.

These observer monitors course module created / restored / updated events, then its HTML content is processed with accessibility checking. Course module created event observer.

Parameters
core\event\course_module_created$eventThe course module created event.
Exceptions
ReflectionException
dml_exception

◆ course_module_deleted()

static tool_brickfield\eventobservers::course_module_deleted ( \core\event\course_module_deleted $event)
static

Course module deleted event observer.

Parameters
core\event\course_module_deleted$eventThe course module deleted event.
Exceptions
dml_exception

◆ course_module_restored()

static tool_brickfield\eventobservers::course_module_restored ( \core\event\course_module_restored $event)
static

Course module restored event observer.

Parameters
core\event\course_module_restored$eventThe course module restored event.
Exceptions
ReflectionException
dml_exception

◆ course_module_updated()

static tool_brickfield\eventobservers::course_module_updated ( \core\event\course_module_updated $event)
static

Course module updated event observer.

Parameters
core\event\course_module_updated$eventThe course module updated event.
Exceptions
ReflectionException
dml_exception

◆ course_restored()

static tool_brickfield\eventobservers::course_restored ( \core\event\course_restored $event)
static

Course restored event observer.

Parameters
core\event\course_restored$eventThe course restored event.
Exceptions
ReflectionException
dml_exception

◆ course_section_created()

static tool_brickfield\eventobservers::course_section_created ( \core\event\course_section_created $event)
static

Course section created event observer.

Parameters
core\event\course_section_created$eventThe course section created event.
Exceptions
ReflectionException
dml_exception

◆ course_section_deleted()

static tool_brickfield\eventobservers::course_section_deleted ( \core\event\course_section_deleted $event)
static

Course section deleted event observer.

Parameters
core\event\course_section_deleted$eventThe course section deleted event.
Exceptions
dml_exception

◆ course_section_updated()

static tool_brickfield\eventobservers::course_section_updated ( \core\event\course_section_updated $event)
static

Course section update event observer.

Parameters
core\event\course_section_updated$eventThe course section updated event.
Exceptions
ReflectionException
dml_exception

◆ course_updated()

static tool_brickfield\eventobservers::course_updated ( \core\event\course_updated $event)
static

Course update event observer.

Parameters
core\event\course_updated$eventThe course updated event.
Exceptions
ReflectionException
dml_exception

◆ mod_lesson_page_created()

static tool_brickfield\eventobservers::mod_lesson_page_created ( \mod_lesson\event\page_created $event)
static

mod_lesson_page created event observer.

Parameters
mod_lesson\event\page_created$eventThe mod_lesson page created event.
Exceptions
ReflectionException
dml_exception

◆ mod_lesson_page_deleted()

static tool_brickfield\eventobservers::mod_lesson_page_deleted ( \mod_lesson\event\page_deleted $event)
static

mod_lesson_page deleted event observer.

Parameters
mod_lesson\event\page_deleted$eventThe mod_lesson page deleted event.
Exceptions
dml_exception

◆ mod_lesson_page_updated()

static tool_brickfield\eventobservers::mod_lesson_page_updated ( \mod_lesson\event\page_updated $event)
static

mod_lesson_page updated event observer.

Parameters
mod_lesson\event\page_updated$eventThe mod_lesson page updated event.
Exceptions
ReflectionException
dml_exception

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