Deprecated: Creation of dynamic property idna_convert::$slast is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/simplepie/simplepie/idn/idna_convert.class.php on line 96

Deprecated: Return type of Zotlabs\Web\SessionHandler::open($s, $n) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 9

Deprecated: Return type of Zotlabs\Web\SessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 78

Deprecated: Return type of Zotlabs\Web\SessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 18

Deprecated: Return type of Zotlabs\Web\SessionHandler::write($id, $data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 39

Deprecated: Return type of Zotlabs\Web\SessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 83

Deprecated: Return type of Zotlabs\Web\SessionHandler::gc($expire) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Web/SessionHandler.php on line 89

Deprecated: Creation of dynamic property idna_convert::$slast is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/simplepie/simplepie/idn/idna_convert.class.php on line 96

Deprecated: Creation of dynamic property idna_convert::$slast is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/simplepie/simplepie/idn/idna_convert.class.php on line 96

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lasafyfh/arc.lasalpujarras.online/Zotlabs/Lib/Apps.php on line 428
Help: Daemon_addon
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Hubzilla Documentation:

Contents

daemon_addon




A foreground plugin can create a background process by invoking:

\Zotlabs\Daemon\Master::Summon([ 'Addon', 'myplugin', 'something' ]);


This starts up a background process (called 'Addon') specifically for addons to use.

Then if your plugin is also catching the daemon_addon hook that handler will be called with the
argv array of the background process. In this case [ 'myplugin', 'something' ];

We recommend using this convention so that plugins can share this hook without causing conflicts; that is check to see if your plugin is the first array argument and if not, return from the hook. Otherwise you can initiate background processing. Something to remember is that during background processes there is no session. You are detached from the web page which created the background process.

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/lasafyfh/arc.lasalpujarras.online/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719