[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/notification/type/ -> report_pm_closed.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: 183 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

report_pm_closed:: (11 methods):
  get_type()
  is_available()
  find_users_for_notification()
  get_email_template()
  get_email_template_variables()
  get_title()
  get_reference()
  get_avatar()
  users_to_query()
  create_insert_array()
  get_insert_array()


Class: report_pm_closed  - X-Ref

PM report closed notifications class
This class handles notifications for when reports are closed on PMs (for the one who reported the PM)

get_type()   X-Ref
Get notification type name

return: string

is_available()   X-Ref
No description

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

param: array $pm Data from submit_pm
param: array $options Options for finding users for notification
return: array

get_email_template()   X-Ref
Get email template

return: string|bool

get_email_template_variables()   X-Ref
Get email template variables

return: array

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_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($pm, $pre_create_data = [])   X-Ref
{@inheritdoc}


get_insert_array()   X-Ref
{@inheritdoc}




Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1