aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/hooks
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-23 13:18:00 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-23 13:18:00 +0000
commitcd4aa46b9363075cd1c0bb493d655fb8ef19714d (patch)
tree6770209ddcd78449b10145323e023be875af77d1 /phpBB/includes/hooks
parent91f5af494b350d6b43b03316d381cc25e34933c7 (diff)
downloadforums-cd4aa46b9363075cd1c0bb493d655fb8ef19714d.tar
forums-cd4aa46b9363075cd1c0bb493d655fb8ef19714d.tar.gz
forums-cd4aa46b9363075cd1c0bb493d655fb8ef19714d.tar.bz2
forums-cd4aa46b9363075cd1c0bb493d655fb8ef19714d.tar.xz
forums-cd4aa46b9363075cd1c0bb493d655fb8ef19714d.zip
err, yes, __FUNCTION__
git-svn-id: file:///svn/phpbb/trunk@8105 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/hooks')
-rw-r--r--phpBB/includes/hooks/index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/hooks/index.php b/phpBB/includes/hooks/index.php
index d7b43ae7ac..bbd258ff40 100644
--- a/phpBB/includes/hooks/index.php
+++ b/phpBB/includes/hooks/index.php
@@ -59,7 +59,7 @@ class phpbb_hook
* Register function/method to be called within hook
* This function is normally called by the modification/application to attach/register the functions.
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
* @param mixed $hook The replacement function/method to be called. Passing function name or array with object/class definition
* @param string $mode Specify the priority/chain mode. 'normal' -> hook gets appended to the chain. 'standalone' -> only the specified hook gets called - later hooks are not able to overwrite this (E_NOTICE is triggered then). 'first' -> hook is called as the first one within the chain. 'last' -> hook is called as the last one within the chain.
*/
@@ -154,7 +154,7 @@ class phpbb_hook
/**
* Get result from previously called functions/methods for the same hook
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
* @return mixed False if nothing returned if there is no result, else array('result' => ... )
*/
function previous_hook_result($definition)
@@ -173,7 +173,7 @@ class phpbb_hook
/**
* Check if the called functions/methods returned something.
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
* @return bool True if results are there, false if not
*/
function hook_return($definition)
@@ -192,7 +192,7 @@ class phpbb_hook
/**
* Give actual result from called functions/methods back.
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
* @return mixed The result
*/
function hook_return_result($definition)
@@ -213,7 +213,7 @@ class phpbb_hook
/**
* Add new function to the allowed hooks.
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
*/
function add_hook($definition)
{
@@ -228,7 +228,7 @@ class phpbb_hook
/**
* Remove function from the allowed hooks.
*
- * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION) (PHP4 requires $object to be given)
+ * @param mixed $definition Declaring function (with __FUNCTION__) or class with array(get_class([$object]), __FUNCTION__) (PHP4 requires $object to be given)
*/
function remove_hook($definition)
{