mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
4dce3d8224
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
24 lines
No EOL
336 B
PHP
24 lines
No EOL
336 B
PHP
<?php
|
|
|
|
/**
|
|
* General purpose landing page for plugins/addons
|
|
*/
|
|
|
|
|
|
function cb_init(App &$a) {
|
|
call_hooks('cb_init');
|
|
}
|
|
|
|
function cb_post(App &$a) {
|
|
call_hooks('cb_post', $_POST);
|
|
}
|
|
|
|
function cb_afterpost(App &$a) {
|
|
call_hooks('cb_afterpost');
|
|
}
|
|
|
|
function cb_content(App &$a) {
|
|
$o = '';
|
|
call_hooks('cb_content', $o);
|
|
return $o;
|
|
} |