Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
report_eventlist_list_generator Class Reference

Static Public Member Functions

static get_all_events_list ($detail=true)
 Convenience method.
 
static get_core_events_list ()
 
static get_crud_string ($crudcharacter)
 Returns the appropriate string for the CRUD character.
 
static get_edulevel_string ($edulevel)
 Returns the appropriate string for the event education level.
 
static get_non_core_event_list ()
 
static get_observer_list ()
 Get the full list of observers for the system.
 

Member Function Documentation

◆ get_all_events_list()

static report_eventlist_list_generator::get_all_events_list ( $detail = true)
static

Convenience method.

Returns all of the core events either with or without details.

Parameters
bool$detailTrue will return details, but no abstract classes, False will return all events, but no details.
Return values
arrayAll events.

◆ get_core_events_list()

static report_eventlist_list_generator::get_core_events_list ( )
static
Deprecated
since 4.0 use {
See also
get_all_events_list} instead

◆ get_crud_string()

static report_eventlist_list_generator::get_crud_string ( $crudcharacter)
static

Returns the appropriate string for the CRUD character.

Parameters
string$crudcharacterThe CRUD character.
Return values
stringget_string for the specific CRUD character.

◆ get_edulevel_string()

static report_eventlist_list_generator::get_edulevel_string ( $edulevel)
static

Returns the appropriate string for the event education level.

Parameters
int$edulevelTakes either the edulevel constant or string.
Return values
stringget_string for the specific education level.

◆ get_non_core_event_list()

static report_eventlist_list_generator::get_non_core_event_list ( )
static
Deprecated
since 4.0 use {
See also
get_all_events_list} instead

◆ get_observer_list()

static report_eventlist_list_generator::get_observer_list ( )
static

Get the full list of observers for the system.

Return values
arrayAn array of observers in the system.

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