Class XoopsNotificationHandler
XOOPS notification handler class.
This class is responsible for providing data access mechanisms to the data source of XOOPS notification class objects.
- XoopsObjectHandler
- XoopsNotificationHandler
Package: kernel\notification
Copyright: copyright (c) 2000-2003 XOOPS.org
Author: Michael van Dam <mvandam@caltech.edu>
Located at html/kernel/notification.php
Copyright: copyright (c) 2000-2003 XOOPS.org
Author: Michael van Dam <mvandam@caltech.edu>
Located at html/kernel/notification.php
public
|
|
protected
|
|
public
object
&
|
|
public
object
&
|
|
public
boolean
|
|
public
boolean
|
|
public
array
&
|
|
public
integer
|
|
public
boolean
|
|
public
&
|
|
public
|
#
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
|
|
public
array
&
|
|
public
&
|
#
getSubscribedEvents( $category, $item_id, $module_id, $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, $status = null )
Retrieve items by their ID |
public
|
#
triggerEvents( $category, $item_id, $events, $extra_tags = array(), $user_list = array(), $module_id = null, $omit_user_id = null )
|
public
|
#
triggerEvent( $category, $item_id, $event, $extra_tags = array(), $user_list = array(), $module_id = null, $omit_user_id = null )
|
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 XOOPS_NOTIFICATION_MODE_WAITFORLOGIN are switched to mode XOOPS_NOTIFICATION_MODE_SENDONCETHENWAIT. |
public
boolean
|
XoopsObjectHandler()
|
public
|
$mTrigger | null |
|
public
|
$mTriggerPreAction | null |
$db
|