hook
| Field | Description | Type | Null | Key | Default |
|---|---|---|---|---|---|
| id | sequential ID | int(11) | NO | PRI | NULL |
| hook | name of hook | char(191) | NO | MUL | |
| file | relative filename of hook handler | char(191) | NO | ||
| fn | function name of hook handler | char(191) | NO | ||
| priority | can be used to sort conflicts in hook handling by calling handlers in priority order | smallint | NO | MUL | 0 |
| hook_version | version 0 hooks must have two arguments, the App and the hook data. version 1 hooks have 1 argument - the hook data | int(11) | NO | MUL | 0 |