mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 07:07:51 +02:00
[ticket/11786] Fix PHPDoc documentation of a few events
Fixed some PHPDoc errors I noticed while working on the karma extension. Mostly spacing issues or omitted characters, though there was one description that made no sense at all. PHPBB3-11786
This commit is contained in:
parent
a92669994b
commit
e2014ab76e
@ -254,8 +254,8 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||
* @var string mode Active module
|
||||
* @var int folder_id ID of the folder the message is in
|
||||
* @var int msg_id ID of the private message
|
||||
* var array folder Array with data of user's message folders
|
||||
* @var array message_row Array with message data
|
||||
* @var array folder Array with data of user's message folders
|
||||
* @var array message_row Array with message data
|
||||
* @var array cp_row Array with senders custom profile field data
|
||||
* @var array msg_data Template array with message data
|
||||
* @since 3.1-A1
|
||||
|
@ -595,7 +595,7 @@ switch ($mode)
|
||||
* Modify user data before we display the profile
|
||||
*
|
||||
* @event core.memberlist_view_profile
|
||||
* @var array member Title of the index page
|
||||
* @var array member Array with user's data
|
||||
* @var bool user_notes_enabled Is the mcp user notes module
|
||||
* enabled?
|
||||
* @var bool warn_user_enabled Is the mcp warnings module
|
||||
|
@ -1102,8 +1102,8 @@ while ($row = $db->sql_fetchrow($result))
|
||||
*
|
||||
* @event core.viewtopic_cache_guest_data
|
||||
* @var array user_cache_data Array with the user's data
|
||||
* @var int poster_id Poster's user id
|
||||
* @var array row Array with original user and post data
|
||||
* @var int poster_id Poster's user id
|
||||
* @var array row Array with original user and post data
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$vars = array('user_cache_data', 'poster_id', 'row');
|
||||
@ -1168,8 +1168,8 @@ while ($row = $db->sql_fetchrow($result))
|
||||
*
|
||||
* @event core.viewtopic_cache_user_data
|
||||
* @var array user_cache_data Array with the user's data
|
||||
* @var int poster_id Poster's user id
|
||||
* @var array row Array with original user and post data
|
||||
* @var int poster_id Poster's user id
|
||||
* @var array row Array with original user and post data
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$vars = array('user_cache_data', 'poster_id', 'row');
|
||||
@ -1660,10 +1660,10 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||
* Modify the posts template block
|
||||
*
|
||||
* @event core.viewtopic_modify_post_row
|
||||
* @var array row Array with original post and user data
|
||||
* @var array cp_row Custom profile field data of the poster
|
||||
* @var array row Array with original post and user data
|
||||
* @var array cp_row Custom profile field data of the poster
|
||||
* @var array user_poster_data Poster's data from user cache
|
||||
* @var array post_row Template block array of the post
|
||||
* @var array post_row Template block array of the post
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$vars = array('row', 'cp_row', 'user_poster_data', 'post_row');
|
||||
|
Loading…
x
Reference in New Issue
Block a user