
Public Member Functions | |
| add_mail_event ($event, $object, $email) | |
| get_mail_events ($event, $object) | |
| list_mail_events ($offset, $max_records, $sort_mode, $find) | |
| NotificationLib () | |
| post_content_event ($contentid, $type, $package, $name, $user, $comment, $data) | |
| post_new_user_event ($user) | |
| remove_mail_event ($event, $object, $email) | |
Definition at line 27 of file notification_lib.php.
| NotificationLib::add_mail_event | ( | $ | event, | |
| $ | object, | |||
| $ | ||||
| ) |
| NotificationLib::get_mail_events | ( | $ | event, | |
| $ | object | |||
| ) |
Retrieves the email addresses for a specific event
| event | the specified event | |
| object | the specified object |
Definition at line 101 of file notification_lib.php.
References $query, $res, $result, $ret, and mDb.
Referenced by post_content_event(), and post_new_user_event().
| NotificationLib::list_mail_events | ( | $ | offset, | |
| $ | max_records, | |||
| $ | sort_mode, | |||
| $ | find | |||
| ) |
Lists registered notification events
| offset | the location to begin listing from | |
| max_records | the maximum number of records returned | |
| sort_mode | the method of sorting used in the listing | |
| find | text used to filter listing |
Definition at line 44 of file notification_lib.php.
References $find, $max_records, $mid, $offset, $query, $res, $result, $ret, $sort_mode, and mDb.
| NotificationLib::NotificationLib | ( | ) |
Notifies via email triggered events.
Definition at line 32 of file notification_lib.php.
References BitBase::BitBase().
Here is the call graph for this function:

| NotificationLib::post_content_event | ( | $ | contentid, | |
| $ | type, | |||
| $ | package, | |||
| $ | name, | |||
| $ | user, | |||
| $ | comment, | |||
| $ | data | |||
| ) |
Post changes to registered email addresses related to a change event
| object | number of the content item being updated | |
| object | content_type of the item | |
| object | the package that is being updated | |
| object | the name of the object | |
| object | the name of user making the change | |
| object | any comment added to the change | |
| object | the content of the change |
Definition at line 126 of file notification_lib.php.
References $_SERVER, $comment, $data, $email, $emails, $gBitSmarty, $gBitSystem, $mail_data, $type, $user, get_mail_events(), httpPrefix(), and tra().
Here is the call graph for this function:

| NotificationLib::post_new_user_event | ( | $ | user | ) |
Notifies registered list of eMail recipients of new user registrations
| object | name of the new user |
Definition at line 152 of file notification_lib.php.
References $_SERVER, $email, $emails, $gBitSmarty, $gBitSystem, $mail_data, $user, get_mail_events(), and tra().
Here is the call graph for this function:

| NotificationLib::remove_mail_event | ( | $ | event, | |
| $ | object, | |||
| $ | ||||
| ) |
1.5.2