mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[ticket/12930] Adding more variables to the event
More variables, according to comments, were added to the event. PHPBB3-12930
This commit is contained in:
parent
9f5d383d50
commit
67de119566
@ -271,15 +271,35 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||
* Get the result of querying for the post to be quoted in the pm message
|
||||
*
|
||||
* @event core.ucp_pm_compose_quotepost_query_after
|
||||
* @var array sql The original SQL used in the query
|
||||
* @var array post Associative array with the result of the quotepost related SQL query
|
||||
* @var array msg_id The post_id that was searched to get the message for quoting
|
||||
* @var string sql The original SQL used in the query
|
||||
* @var array post Associative array with the result of the quotepost related SQL query
|
||||
* @var array msg_id The post_id that was searched to get the message for quoting
|
||||
* @var array forum_list List of forums that contain the posts
|
||||
* @var int visibility_const Integer with one of the possible ITEM_* constant values
|
||||
* @var int topic_id topic_id in the page request
|
||||
* @var int to_user_id The id of whom the message is to
|
||||
* @var int to_group_id The id of the group whom the message is to
|
||||
* @var bool submit Whether the user is sending the PM or not
|
||||
* @var bool preview Whether the user is previewing the PM or not
|
||||
* @var bool action One of: post, reply, quote, forward, quotepost, edit, delete, smilies
|
||||
* @var bool delete If deleting message
|
||||
* @var int reply_to_all Value of reply_to_all request variable.
|
||||
* @since 3.1.0-RC4
|
||||
*/
|
||||
$vars = array(
|
||||
'sql',
|
||||
'post',
|
||||
'msg_id',
|
||||
'forum_list',
|
||||
'visibility_const',
|
||||
'topic_id',
|
||||
'to_user_id',
|
||||
'to_group_id',
|
||||
'submit',
|
||||
'preview',
|
||||
'action',
|
||||
'delete',
|
||||
'reply_to_all',
|
||||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_compose_quotepost_query_after', compact($vars)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user