From 05755e1b3798d7fdb95bee462890ff94ae76533a Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 21 Aug 2012 11:31:18 -0400 Subject: [feature/add_events] Fixed docs, added _profile_cache to event parameters PHPBB3-9550 --- phpBB/includes/functions_content.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpBB/includes/functions_content.php') diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index b1f9cf4434..8b7565d8f1 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -1268,16 +1268,16 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', * @var int user_id String or array of additional url * parameters * @var string username The user's username - * @var string username_colour Is url using & (true) or - * & (false) - * @var string guest_username optional parameter to specify the + * @var string username_colour The user's colour + * @var string guest_username Optional parameter to specify the * guest username. * @var string custom_profile_url Optional parameter to specify a * profile url. * @var string username_string The string that has been generated + * @var array _profile_cache Array of original return templates * @since 3.1-A1 */ - $vars = array('mode', 'user_id', 'username', 'username_colour', 'guest_username', 'custom_profile_url', 'username_string'); + $vars = array('mode', 'user_id', 'username', 'username_colour', 'guest_username', 'custom_profile_url', 'username_string', '_profile_cache'); extract($phpbb_dispatcher->trigger_event('core.modify_username_string', compact($vars))); return $username_string; -- cgit v1.2.1