events_handlers table columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||
eventname | VARCHAR | 166 |
|
|
name of the event, e.g. 'grade_updated' |
|||||
component | VARCHAR | 166 |
|
|
e.g. moodle, mod_forum, block_rss_client |
|||||
handlerfile | VARCHAR | 255 |
|
|
path to the file of the function, eg /grade/export/lib.php |
|||||
handlerfunction | LONGTEXT | 2147483647 | √ | null |
|
|
serialized string or array describing function, suitable to be passed to call_user_func() |
|||
schedule | VARCHAR | 255 | √ | null |
|
|
'cron' or 'instant'. |
|||
status | BIGINT | 19 | 0 |
|
|
number of failed attempts to process this handler |
||||
internal | TINYINT | 3 | 1 |
|
|
1 means standard plugin handler, 0 indicates if event handler sends data to external systems, this is used for example to prevent immediate sending of events from pending db transactions |
Table contained -1 rows
events_handlers table indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
evenhand_evecom_uix | Must be unique | Asc/Asc | eventname + component |