[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

Defines 1 class

pm:: (15 methods):
  get_type()
  set_config()
  set_user_loader()
  is_available()
  get_item_id()
  get_item_parent_id()
  find_users_for_notification()
  get_avatar()
  get_title()
  get_reference()
  get_email_template()
  get_email_template_variables()
  get_url()
  users_to_query()
  create_insert_array()


Class: pm  - X-Ref

Private message notifications class
This class handles notifications for private messages

get_type()   X-Ref
Get notification type name

return: string

set_config(\phpbb\config\config $config)   X-Ref
No description

set_user_loader(\phpbb\user_loader $user_loader)   X-Ref
No description

is_available()   X-Ref
Is available


get_item_id($pm)   X-Ref
Get the id of the

param: array $pm The data from the private message

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

param: array $pm The data from the pm

find_users_for_notification($pm, $options = array()   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_avatar()   X-Ref
Get the user's avatar


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_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

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 = array()   X-Ref
{@inheritdoc}




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1