Class NotificationsNotificationHandler
XOOPS notification handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS notification class objects.
- Xoops\Core\Kernel\XoopsObjectHandler
- Xoops\Core\Kernel\XoopsPersistableObjectHandler
- NotificationsNotificationHandler
Package: Notifications
Copyright: copyright (c) 2000-2003 XOOPS.org
Author: Michael van Dam mvandam@caltech.edu
Located at odules/notifications/class/notification.php
Copyright: copyright (c) 2000-2003 XOOPS.org
Author: Michael van Dam mvandam@caltech.edu
Located at odules/notifications/class/notification.php
public
|
|
public
array
|
#
getObjectsArray(
Get some |
public
|
#
getNotification( integer $module_id, string $category, integer $item_id, string $event, integer $user_id )
getNotification |
public
integer
|
#
isSubscribed( string $category, integer $item_id, string $event, integer $module_id, integer $user_id )
Determine if a user is subscribed to a particular event in a particular module. |
public
boolean
|
|
public
array
|
|
public
array
|
#
getSubscribedEvents( string $category, integer $item_id, integer $module_id, integer $user_id )
Get a list of notification events for the current item/mod/user |
public
array
|
#
getByItemId( integer $module_id, integer $item_id, string $order = null, integer $status = null )
Retrieve items by their ID |
public
|
#
triggerEvents( string $category, integer $item_id, string $events, array $extra_tags = array(), array $user_list = array(), integer $module_id = null, integer $omit_user_id = null )
Send notifications to users |
public
boolean
|
#
triggerEvent( integer $category, integer $item_id, integer $event, array $extra_tags = array(), array $user_list = array(), integer $module_id = null, integer $omit_user_id = null )
triggerEvent |
public
boolean
|
|
public
boolean
|
#
unsubscribe( string $category, integer $item_id, mixed $events, integer $module_id = null, integer $user_id = null )
Unsubscribe notifications for an event(s). |
public
boolean
|
|
public
boolean
|
#
unsubscribeByItem( integer $module_id, string $category, integer $item_id )
Delete all subscriptions for a particular item. |
public
|
#
doLoginMaintenance( integer $user_id )
Perform notification maintenance activites at login time. In particular, any notifications for the newly logged-in user with mode NOTIFICATIONS_MODE_WAITFORLOGIN are switched to mode NOTIFICATIONS_MODE_SENDONCETHENWAIT. |
public
boolean
|
#
updateByField(
Update |
$className,
$field_link,
$field_object,
$handler,
$identifierName,
$keyName,
$keyName_link,
$table,
$table_link
|
$db2
|