aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cb.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-02-12 18:31:13 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-02-12 18:31:13 +0100
commit53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1 (patch)
treeeee6bc94d474e327a233c7053beb46d33036a65d /mod/cb.php
parent26dfb73f48d4fcd4671d136e53f52bb81995ea34 (diff)
parent89cbd17c721dae57b18686fd7f3e5f8c74a279d9 (diff)
downloadvolse-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.php24
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