]> git.mxchange.org Git - friendica.git/blob - doc/database/db_hook.md
44fcf5668ce8d6cb4e48ea0f072a8ea35d97e2b8
[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 | YES | PRI | NULL | auto_increment |    
8 | hook | name of hook | varbinary(100) | YES |  |  |  |    
9 | file | relative filename of hook handler | varbinary(200) | YES |  |  |  |    
10 | function | function name of hook handler | varbinary(200) | YES |  |  |  |    
11 | priority | not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order | smallint unsigned | YES |  | 0 |  |    
12
13 Return to [database documentation](help/database)