1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 11:40:08 +02:00

[ticket/12273] Allow multiple $vars lines

PHPBB3-12273
This commit is contained in:
Joas Schilling
2014-04-20 14:15:54 +02:00
parent 1a913d6e0f
commit 8ddc9ff185
5 changed files with 106 additions and 26 deletions

View File

@@ -5,16 +5,9 @@
*
* @event duplicate.trigger
* @var int start Start item of this page
* @var int current_row_number Number of the post on this page
* @var int end Number of posts on this page
* @var array row Array with original post and user data
* @var array cp_row Custom profile field data of the poster
* @var array attachments List of attachments
* @var array user_poster_data Poster's data from user cache
* @var array post_row Template block array of the post
* @since 3.1.0-a3
*/
$vars = array('start', 'current_row_number', 'end', 'row', 'cp_row', 'attachments', 'user_poster_data', 'post_row');
$vars = array('start');
extract($phpbb_dispatcher->trigger_event('duplicate.trigger', compact($vars)));
/**