History of TikiNotifications
Version 4 | Current version | |
---|---|---|
IntroductionThe notifications library is designed to send out event emails, when an event occurs, to anyone who has registered for that event.TypesEvent types are registered by the packages in their <package>/tiki_setup_inc.php file (usually just after the registerMenu() function.{CODE()}$gTikiSystem->registerNotifyEvent( array( "user_registers" => tra("A user registers") ) );{CODE} This registers the event, and allows it to be displayed in the Administration / Kernel / Notification options, on a per package basis. To retrieve an array of email addresses registered for your event, use the following code: {CODE()}$emails = $notificationlib->get_mail_events('user_registers','*');{CODE} Currently, you have to write your own email code, but I would like to add another function to $notificationlib to help out. Issues
| IntroductionThe notifications library is designed to send out event emails, when an event occurs, to anyone who has registered for that event.TypesEvent types are registered by the packages in their <package>/tiki_setup_inc.php file (usually just after the registerMenu() function.{CODE()}$gTikiSystem->registerNotifyEvent( array( "user_registers" => tra("A user registers") ) );{CODE} This registers the event, and allows it to be displayed in the Administration / Kernel / Notification options, on a per package basis. To retrieve an array of email addresses registered for your event, use the following code: {CODE()}$emails = $notificationlib->get_mail_events('user_registers','*');{CODE} Currently, you have to write your own email code, but I would like to add another function to $notificationlib to help out. Issues
To-Do
|