[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/phpbb/notification/type/ -> report_pm.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 258 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

report_pm:: (14 methods):

Class: report_pm  - X-Ref

Private message reported notifications class
This class handles notifications for private messages when they are reported

get_type()   X-Ref
Get notification type name

return: string

get_style_class()   X-Ref
Get the CSS style class of the notification

return: string

get_item_parent_id($pm)   X-Ref
Get the id of the parent

return: int The report id
param: array $pm The data from the pm

is_available()   X-Ref
Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options)

return: bool True/False whether or not this is available to the user

find_users_for_notification($post, $options = [])   X-Ref
Find the users who want to receive notifications
(copied from post_in_queue)

return: array
param: array $post Data from the post
param: array $options Options for finding users for notification

get_email_template()   X-Ref
Get email template

return: string|bool

get_email_template_variables()   X-Ref
Get email template variables

return: array

get_url()   X-Ref
Get the url to this item

return: string URL

get_title()   X-Ref
Get the HTML formatted title of this notification

return: string

get_reference()   X-Ref
Get the HTML formatted reference of the notification

return: string

get_reason()   X-Ref
Get the reason for the notification

return: string

get_avatar()   X-Ref
Get the user's avatar

users_to_query()   X-Ref
Users needed to query before this notification can be displayed

return: array Array of user_ids

create_insert_array($post, $pre_create_data = [])   X-Ref

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1