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