1 | <?php |
||
5 | class friend_request extends \phpbb\notification\type\base |
||
6 | { |
||
7 | |||
8 | public function get_type() |
||
12 | |||
13 | public function __construct(\phpbb\user_loader $user_loader, \phpbb\db\driver\driver_interface $db, \phpbb\cache\driver\driver_interface $cache, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\config\config $config, $phpbb_root_path, $php_ext, $notification_types_table, $notifications_table, $user_notifications_table) |
||
27 | |||
28 | public static $notification_option = array( |
||
29 | 'group' => 'NOTIFICATION_GROUP_MISCELLANEOUS', |
||
30 | ); |
||
31 | |||
32 | public function is_available() |
||
36 | |||
37 | public static function get_item_id($data) |
||
41 | |||
42 | public static function get_item_parent_id($data) |
||
46 | |||
47 | public function users_to_query() |
||
51 | |||
52 | public function find_users_for_notification($data, $options = array()) |
||
62 | |||
63 | public function get_title() |
||
68 | |||
69 | public function get_url() |
||
73 | |||
74 | public function get_avatar() |
||
79 | |||
80 | public function get_redirect_url() |
||
84 | |||
85 | public function get_email_template() |
||
89 | |||
90 | public function get_email_template_variables() |
||
94 | |||
95 | public function create_insert_array($data, $pre_create_data = array()) |
||
104 | |||
105 | |||
106 | } |
||
107 |