aboutsummaryrefslogtreecommitdiffstats
path: root/doc/database/db_hook.bb
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-20 09:31:27 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-20 09:31:27 +0200
commite40112b40dc7dd0e8b235800d85ef070f428e2c2 (patch)
treeb9265650b08bde6762ce4a1494316d1e5458f402 /doc/database/db_hook.bb
parent7a4efcf67f57d6437af5596ad99920c1793cf450 (diff)
parentcc09f9a7a5f799a0811ba83799c0a3ac6598c476 (diff)
downloadvolse-hubzilla-e40112b40dc7dd0e8b235800d85ef070f428e2c2.tar.gz
volse-hubzilla-e40112b40dc7dd0e8b235800d85ef070f428e2c2.tar.bz2
volse-hubzilla-e40112b40dc7dd0e8b235800d85ef070f428e2c2.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'doc/database/db_hook.bb')
-rw-r--r--doc/database/db_hook.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/database/db_hook.bb b/doc/database/db_hook.bb
index 0812b1b41..233062f98 100644
--- a/doc/database/db_hook.bb
+++ b/doc/database/db_hook.bb
@@ -7,9 +7,11 @@
[/td][/tr]
[tr][td]file[/td][td]relative filename of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
[/td][/tr]
-[tr][td]function[/td][td]function name of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
+[tr][td]fn[/td][td]function name of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
[/td][/tr]
-[tr][td]priority[/td][td]not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
+[tr][td]priority[/td][td]can be used to sort conflicts in hook handling by calling handlers in priority order[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
+[/td][/tr]
+[tr][td]hook_version[/td][td]version 0 hooks must have two arguments, the App and the hook data. version 1 hooks have 1 argument - the hook data[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
[/td][/tr]
[/table]