]> git.mxchange.org Git - friendica.git/blob - doc/database/db_hook.md
Pad the header
[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)