friendica/doc/database/db_hook.md

14 lines
681 B
Markdown
Raw Normal View History

2015-12-28 02:50:25 +01:00
Table hook
===========
addon hook registry
2015-12-28 02:50:25 +01:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
2021-06-14 07:08:01 +02:00
| id | sequential ID | int unsigned | YES | PRI | NULL | auto_increment |
| hook | name of hook | varbinary(100) | YES | | | |
| file | relative filename of hook handler | varbinary(200) | YES | | | |
| function | function name of hook handler | varbinary(200) | YES | | | |
| priority | not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order | smallint unsigned | YES | | 0 | |
2015-12-28 02:50:25 +01:00
Return to [database documentation](help/database)