2011-02-10 09:32:09 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* General purpose landing page for plugins/addons
|
|
|
|
*/
|
|
|
|
|
2017-04-30 06:07:00 +02:00
|
|
|
use Friendica\App;
|
2016-02-07 15:11:34 +01:00
|
|
|
|
2017-01-09 13:12:54 +01:00
|
|
|
function cb_init(App $a) {
|
2011-02-10 09:32:09 +01:00
|
|
|
call_hooks('cb_init');
|
|
|
|
}
|
|
|
|
|
2017-01-09 13:12:54 +01:00
|
|
|
function cb_post(App $a) {
|
2011-02-10 09:32:09 +01:00
|
|
|
call_hooks('cb_post', $_POST);
|
|
|
|
}
|
|
|
|
|
2017-01-09 13:12:54 +01:00
|
|
|
function cb_afterpost(App $a) {
|
2011-02-10 09:32:09 +01:00
|
|
|
call_hooks('cb_afterpost');
|
|
|
|
}
|
|
|
|
|
2017-01-09 13:12:54 +01:00
|
|
|
function cb_content(App $a) {
|
2011-02-10 09:32:09 +01:00
|
|
|
$o = '';
|
|
|
|
call_hooks('cb_content', $o);
|
|
|
|
return $o;
|
2016-02-07 15:11:34 +01:00
|
|
|
}
|