aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2014-08-10 18:59:57 +0100
committerbrunoais <brunoaiss@gmail.com>2014-08-10 18:59:57 +0100
commit67de1195660c92299514fb843c2f443dcc83650f (patch)
tree8bad15760041f2cea813ff4b6d9f61fa03e96b49 /phpBB
parent9f5d383d50bc3abbbd53f76239ea2226d3cee569 (diff)
downloadforums-67de1195660c92299514fb843c2f443dcc83650f.tar
forums-67de1195660c92299514fb843c2f443dcc83650f.tar.gz
forums-67de1195660c92299514fb843c2f443dcc83650f.tar.bz2
forums-67de1195660c92299514fb843c2f443dcc83650f.tar.xz
forums-67de1195660c92299514fb843c2f443dcc83650f.zip
[ticket/12930] Adding more variables to the event
More variables, according to comments, were added to the event. PHPBB3-12930
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php26
1 files changed, 23 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index b3984e6e8c..ab5de019e3 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -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)));