[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

Defines 1 class

post_in_queue:: (7 methods):
  get_type()
  is_available()
  find_users_for_notification()
  get_url()
  get_redirect_url()
  create_insert_array()
  get_email_template()


Class: post_in_queue  - X-Ref

Post in queue notifications class
This class handles notifications for posts that are put in the moderation queue (for moderators)

get_type()   X-Ref
Get notification type name

return: string

is_available()   X-Ref
Is available


find_users_for_notification($post, $options = array()   X-Ref
Find the users who want to receive notifications

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

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

return: string URL

get_redirect_url()   X-Ref
{inheritDoc}


create_insert_array($post, $pre_create_data = array()   X-Ref
Function for preparing the data for insertion in an SQL query
(The service handles insertion)

param: array $post Data from submit_post
param: array $pre_create_data Data from pre_create_insert_array()
return: array Array of data ready to be inserted into the database

get_email_template()   X-Ref
Get email template

return: string|bool



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1