aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2015-08-02 20:27:05 +0200
committerJakub Senko <jakubsenko@gmail.com>2015-08-02 20:27:05 +0200
commit7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f (patch)
treed0a4d5b2f7b905d5b7370612c9e7cafe7190ec01 /phpBB/includes/functions.php
parentc6a654e85939a187c5ea466c92d7332ebb70d9e0 (diff)
downloadforums-7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f.tar
forums-7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f.tar.gz
forums-7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f.tar.bz2
forums-7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f.tar.xz
forums-7cb7ca57c2f7a5f5b70749bc04f50f05046eeb9f.zip
[ticket/14043] Add more parameters to the event
PHPBB3-14043
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b31a45276f..47f8161eac 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4810,10 +4810,14 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false)
* Event to modify HTML <img> tag of avatar
*
* @event core.get_avatar_after
- * @var string html The HTML <img> tag of generated avatar
+ * @var array row Row cleaned by \phpbb\avatar\manager::clean_row
+ * @var string alt Optional language string for alt tag within image, can be a language key or text
+ * @var bool ignore_config Ignores the config-setting, to be still able to view the avatar in the UCP
+ * @var array avatar_data The HTML attributes for avatar <img> tag
+ * @var string html The HTML <img> tag of generated avatar
* @since 3.1.6-RC1
*/
- $vars = array('html');
+ $vars = array('row', 'alt', 'ignore_config', 'avatar_data', 'html');
extract($phpbb_dispatcher->trigger_event('core.get_avatar_after', compact($vars)));
return $html;