mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
@ -5,19 +5,19 @@
|
|||
*/
|
||||
|
||||
|
||||
function cb_init(&$a) {
|
||||
function cb_init(App &$a) {
|
||||
call_hooks('cb_init');
|
||||
}
|
||||
|
||||
function cb_post(&$a) {
|
||||
function cb_post(App &$a) {
|
||||
call_hooks('cb_post', $_POST);
|
||||
}
|
||||
|
||||
function cb_afterpost(&$a) {
|
||||
function cb_afterpost(App &$a) {
|
||||
call_hooks('cb_afterpost');
|
||||
}
|
||||
|
||||
function cb_content(&$a) {
|
||||
function cb_content(App &$a) {
|
||||
$o = '';
|
||||
call_hooks('cb_content', $o);
|
||||
return $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue