mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
[ticket/13148] Added more variables as requested
Added more variables as requested and some extra that may be of use. PHPBB3-13148
This commit is contained in:
parent
b7f83b2cfc
commit
cf036ea0e8
@ -717,9 +717,40 @@ class log implements \phpbb\log\log_interface
|
||||
* get the permission data
|
||||
* @var array reportee_id_list Array of additional user IDs we
|
||||
* get the username strings for
|
||||
* @since 3.1.3-RC1
|
||||
* @var string mode Mode of the entries we display
|
||||
* @var bool count_logs Do we count all matching entries?
|
||||
* @var int limit Limit the number of entries
|
||||
* @var int offset Offset when fetching the entries
|
||||
* @var mixed forum_id Limit entries to the forum_id,
|
||||
* can also be an array of forum_ids
|
||||
* @var int topic_id Limit entries to the topic_id
|
||||
* @var int user_id Limit entries to the user_id
|
||||
* @var int log_time Limit maximum age of log entries
|
||||
* @var string sort_by SQL order option
|
||||
* @var string keywords Will only return entries that have the
|
||||
* keywords in log_operation or log_data
|
||||
* @var string profile_url URL to the users profile
|
||||
* @var int log_type The type of logs it was filtered
|
||||
* @since 3.1.0-a1
|
||||
*/
|
||||
$vars = array('log', 'topic_id_list', 'reportee_id_list');
|
||||
$vars = array(
|
||||
'log',
|
||||
'topic_id_list',
|
||||
'reportee_id_list'
|
||||
'mode',
|
||||
'count_logs',
|
||||
'limit',
|
||||
'offset',
|
||||
'forum_id',
|
||||
'topic_id',
|
||||
'user_id',
|
||||
'log_time',
|
||||
'sort_by',
|
||||
'keywords',
|
||||
'profile_url',
|
||||
'log_type',
|
||||
);
|
||||
$vars = array();
|
||||
extract($this->dispatcher->trigger_event('core.get_logs_after', compact($vars)));
|
||||
|
||||
return $log;
|
||||
|
Loading…
x
Reference in New Issue
Block a user