Hubzilla-Dokumentation
This page is not yet available in Deutsch. See /help/developer/developer_guide#Translations for information about how to help.
Inhalt
status_editor
Replace the default status_editor (jot).
Allow plugins to replace the default status editor in a context dependent manner.
It is fed an array of ['editor_html' => '', 'x' => $x, 'popup' => $popup, 'module' => $module].
All calls to the status_editor at the time of the creation of this hook have been updated
to set $module at invocation. This allows addon developers to have a context dependent editor
based on the Hubzilla module/addon.
Calls to status_editor() are in the form of:
status_editor($a, $x, $popup, $module).
Future module/addon developers are encouraged to set $popup and $module when invoking the
status_editor.
$hook_info = ['editor_html' => '', 'x' => $x, 'popup' => $popup, 'module' => $module];
call_hooks('status_editor',$hook_info);
if ($hook_info['editor_html'] == '') {
return hz_status_editor($a, $x, $popup);
} else {
return $hook_info['editor_html'];
}
see: include/conversation.php
Diese Website verwendet Piwik, um die Besucherzugriffe auszuwerten. Wenn Du nicht möchtest, dass Deine Besuche zu diesem Zweck gespeichert werden, kannst Du ein Cookie setzen, welches Piwik davon abhält, Deine weiteren Besuche auf dieser Website zu verfolgen (Opt-out).