diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-02-12 18:31:13 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-02-12 18:31:13 +0100 |
commit | 53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1 (patch) | |
tree | eee6bc94d474e327a233c7053beb46d33036a65d /mod/cb.php | |
parent | 26dfb73f48d4fcd4671d136e53f52bb81995ea34 (diff) | |
parent | 89cbd17c721dae57b18686fd7f3e5f8c74a279d9 (diff) | |
download | volse-hubzilla-53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1.tar.gz volse-hubzilla-53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1.tar.bz2 volse-hubzilla-53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1.zip |
Merge branch 'friendika-master'
Diffstat (limited to 'mod/cb.php')
-rw-r--r-- | mod/cb.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/cb.php b/mod/cb.php new file mode 100644 index 000000000..6375d2398 --- /dev/null +++ b/mod/cb.php @@ -0,0 +1,24 @@ +<?php + +/** + * General purpose landing page for plugins/addons + */ + + +function cb_init(&$a) { + call_hooks('cb_init'); +} + +function cb_post(&$a) { + call_hooks('cb_post', $_POST); +} + +function cb_afterpost(&$a) { + call_hooks('cb_afterpost'); +} + +function cb_content(&$a) { + $o = ''; + call_hooks('cb_content', $o); + return $o; +}
\ No newline at end of file |