메소드 |
설명 |
|
create_insert_array ( array $pm, array $pre_create_data = [] ) : array |
Function for preparing the data for insertion in an SQL query
(The service handles insertion) |
|
find_users_for_notification ( array $pm, array $options = [] ) : array |
Find the users who want to receive notifications |
|
get_avatar ( ) |
Get the user's avatar |
|
get_email_template ( ) : string | boolean |
Get email template |
|
get_email_template_variables ( ) : array |
Get email template variables |
|
get_item_id ( array $pm ) |
Get the id of the |
|
get_item_parent_id ( array $pm ) |
Get the id of the parent |
|
get_reference ( ) : string |
Get the HTML formatted reference of the notification |
|
get_title ( ) : string |
Get the HTML formatted title of this notification |
|
get_type ( ) : string |
Get notification type name |
|
get_url ( ) : string |
Get the url to this item |
|
is_available ( ) |
Is available |
|
users_to_query ( ) : array |
Users needed to query before this notification can be displayed |
|