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: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Michael van Dam mvandam@caltech.edu
Located at ernel/notification.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Michael van Dam mvandam@caltech.edu
Located at ernel/notification.php
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
#
getObjects(
Get some |
public
integer
|
|
public
boolean
|
|
public
boolean
&
|
|
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( $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, 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
mixed
|
#
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 )
Enter description here... |
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(),
__construct()
|
$db
|