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