diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-01-12 15:54:41 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-01-12 15:54:41 +0100 |
commit | 51d791d824d05a8ce0347c1c7d20a7c7d37a5fb6 (patch) | |
tree | 0c95ae518d9ab9035a47c3dfa68b686bc9f061ae /include/plugin.php | |
parent | db08e2cea0703818b7f3515271d7603c78d1e648 (diff) | |
parent | 07b67963f128157e85c891057da2c42c286166e7 (diff) | |
download | volse-hubzilla-51d791d824d05a8ce0347c1c7d20a7c7d37a5fb6.tar.gz volse-hubzilla-51d791d824d05a8ce0347c1c7d20a7c7d37a5fb6.tar.bz2 volse-hubzilla-51d791d824d05a8ce0347c1c7d20a7c7d37a5fb6.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-x | include/plugin.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/plugin.php b/include/plugin.php index 379d8e799..95afdaeb5 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -47,7 +47,10 @@ function uninstall_plugin($plugin) { } /** - * @brief installs an addon. + * @brief Installs an addon. + * + * This function is called once to install the addon (either from the cli or via + * the web admin). This will also call load_plugin() once. * * @param string $plugin name of the addon * @return bool @@ -188,7 +191,9 @@ function visible_plugin_list() { /** - * @brief registers a hook. + * @brief Registers a hook. + * + * @see ::Zotlabs::Extend::Hook::register() * * @param string $hook the name of the hook * @param string $file the name of the file that hooks into @@ -219,6 +224,8 @@ function register_hook($hook, $file, $function, $priority = 0) { /** * @brief unregisters a hook. * + * @see ::Zotlabs::Extend::Hook::unregister + * * @param string $hook the name of the hook * @param string $file the name of the file that hooks into * @param string $function the name of the function that the hook called |