]> git.mxchange.org Git - friendica.git/blob - doc/database/db_hook.md
Improve Addons documentation
[friendica.git] / doc / database / db_hook.md
1 Table hook
2 ==========
3
4 | Field    | Description                                                                                                | Type             | Null | Key | Default | Extra           |
5 | -------- | ---------------------------------------------------------------------------------------------------------- | ---------------- | ---- | --- | ------- | --------------- |
6 | id       | sequential ID                                                                                              | int(11)          | NO   | PRI | NULL    | auto_increment  |
7 | hook     | name of hook                                                                                               | varchar(255)     | NO   | MUL |         |                 |
8 | file     | relative filename of hook handler                                                                          | varchar(255)     | NO   |     |         |                 |
9 | function | function name of hook handler                                                                              | varchar(255)     | NO   |     |         |                 |
10 | priority | not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order | int(11) unsigned | NO   |     | 0       |                 |
11
12 Return to [database documentation](help/database)