aboutsummaryrefslogtreecommitdiffstats
path: root/doc/database/db_hook.bb
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-20 13:06:32 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-20 13:06:32 -0400
commitf4d9d34bbce463e09d45dce137c35ed531bc4ba1 (patch)
treea541fb28d557246ff6460287d4c0acb513d6a730 /doc/database/db_hook.bb
parente5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7 (diff)
parentcc09f9a7a5f799a0811ba83799c0a3ac6598c476 (diff)
downloadvolse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.tar.gz
volse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.tar.bz2
volse-hubzilla-f4d9d34bbce463e09d45dce137c35ed531bc4ba1.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
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]