NotificationGateway

NotificationGateway

Notification Gateway

Provides a data access layer for the gibbonNotification table

Methods

__construct

NotificationGateway::__construct( \Gibbon\Contracts\Database\Connection $pdo )

selectNotification

NotificationGateway::selectNotification( $gibbonNotificationID )

selectNotificationByStatus

NotificationGateway::selectNotificationByStatus( $data, $status = 'New' )

updateNotificationCount

NotificationGateway::updateNotificationCount( $gibbonNotificationID, $count )

insertNotification

NotificationGateway::insertNotification( $data )

selectNotificationEventByID

NotificationGateway::selectNotificationEventByID( $gibbonNotificationEventID )

selectNotificationEventByName

NotificationGateway::selectNotificationEventByName( $moduleName, $event )

selectAllNotificationEvents

NotificationGateway::selectAllNotificationEvents( )

updateNotificationEvent

NotificationGateway::updateNotificationEvent( $update )

selectNotificationListener

NotificationGateway::selectNotificationListener( $gibbonNotificationListenerID )

selectAllNotificationListeners

NotificationGateway::selectAllNotificationListeners( $gibbonNotificationEventID, $groupByPerson = true )

selectNotificationListenersByScope

NotificationGateway::selectNotificationListenersByScope( $gibbonNotificationEventID, $scopes = array() )

insertNotificationListener

NotificationGateway::insertNotificationListener( $data )

deleteNotificationListener

NotificationGateway::deleteNotificationListener( $gibbonNotificationListenerID )

getNotificationPreference

NotificationGateway::getNotificationPreference( $gibbonPersonID )

Last updated : September 15, 2018 b92362d