aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver/interface.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-01-08 15:34:20 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-01-08 15:34:20 +0100
commit8778c9c945e388c2b727f1b7cd057dd67a091441 (patch)
treeb92c7f4615a249ed24137246de747eb3290a62bb /phpBB/includes/avatar/driver/interface.php
parent023d7a972dd5c279e0b0b24801f9e53e7865d39a (diff)
downloadforums-8778c9c945e388c2b727f1b7cd057dd67a091441.tar
forums-8778c9c945e388c2b727f1b7cd057dd67a091441.tar.gz
forums-8778c9c945e388c2b727f1b7cd057dd67a091441.tar.bz2
forums-8778c9c945e388c2b727f1b7cd057dd67a091441.tar.xz
forums-8778c9c945e388c2b727f1b7cd057dd67a091441.zip
[feature/avatars] Pass phpbb_user object to get_custom_html()
Pass the phpbb_user object to function get_custom_html(). This object is used in that method. Also fixed incorrect arguments to get_custom_html() in phpbb_get_avatar(). PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar/driver/interface.php')
-rw-r--r--phpBB/includes/avatar/driver/interface.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/avatar/driver/interface.php b/phpBB/includes/avatar/driver/interface.php
index 3c1db019f0..836c45b49f 100644
--- a/phpBB/includes/avatar/driver/interface.php
+++ b/phpBB/includes/avatar/driver/interface.php
@@ -41,11 +41,14 @@ interface phpbb_avatar_driver_interface
/**
* Returns custom html if it is needed for displaying this avatar
*
+ * @param phpbb_user $user phpBB user object
+ * @param array $row User data or group data that has been cleaned with
+ * phpbb_avatar_manager::clean_row
* @param string $alt Alternate text for avatar image
*
* @return string HTML
*/
- public function get_custom_html($row, $alt = '');
+ public function get_custom_html($user, $row, $alt = '');
/**
* Prepare form for changing the settings of this avatar