aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-12 01:26:21 -0800
committerzotlabs <mike@macgirvin.com>2018-01-12 01:26:21 -0800
commit619f8f752b95749c2c4b90c204aee1dbba1dee78 (patch)
tree0011b1e236588a3d08acf0cbaef057cb3a0b467c /include/plugin.php
parentb0a491eaa8759feef7bca1a9c1dd272fa07c4872 (diff)
parent07b67963f128157e85c891057da2c42c286166e7 (diff)
downloadvolse-hubzilla-619f8f752b95749c2c4b90c204aee1dbba1dee78.tar.gz
volse-hubzilla-619f8f752b95749c2c4b90c204aee1dbba1dee78.tar.bz2
volse-hubzilla-619f8f752b95749c2c4b90c204aee1dbba1dee78.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-xinclude/plugin.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/plugin.php b/include/plugin.php
index 418551adc..67157dee7 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