Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$arrPersistentNotifications

$arrPersistentNotifications : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

add_persistent()

add_persistent(  $strType,   $strMessage,   $strLink,   $intPrio,   $strIcon = '',   $intCount = 1) 

Parameters

$strType
$strMessage
$strLink
$intPrio
$strIcon
$intCount

add()

add(  $strType,   $strDatasetID,   $strFromUsername,   $strLink,   $intUserID = false,   $strAdditionalData = "",   $intCategoryID = false,   $mixPermission = false) 

Parameters

$strType
$strDatasetID
$strFromUsername
$strLink
$intUserID
$strAdditionalData
$intCategoryID
$mixPermission

getPersistentNotifications()

getPersistentNotifications() 

getAllUserNotifications()

getAllUserNotifications() 

createNotifications()

createNotifications() 

groupNotifications()

groupNotifications(  $arrNotificationIDs,   $arrNotificationType) 

Parameters

$arrNotificationIDs
$arrNotificationType

deleteNotification()

deleteNotification(  $strType,   $strDatasetID,   $intUserID) 

Parameters

$strType
$strDatasetID
$intUserID

addNotificationType()

addNotificationType(  $strID,   $strLanguageVar,   $strCategory,   $intPrio,   $blnDefault,   $blnGroup = false,   $strGroupLangVar = "",   $intGroupAt = 3,   $strIcon = "") 

Parameters

$strID
$strLanguageVar
$strCategory
$intPrio
$blnDefault
$blnGroup
$strGroupLangVar
$intGroupAt
$strIcon

deleteNotificationType()

deleteNotificationType(  $strID) 

Parameters

$strID

cleanup_read()

cleanup_read(  $intDays) 

Parameters

$intDays

cleanup_unread()

cleanup_unread() 

getAvailableNotificationMethods()

getAvailableNotificationMethods(  $blnAllMethods = false) 

Parameters

$blnAllMethods

getNotificationMethodsAdminSettings()

getNotificationMethodsAdminSettings() 

getNotificationMethodsUserSettings()

getNotificationMethodsUserSettings(  $blnAllMethods = false) 

Parameters

$blnAllMethods

sendNofiticationByMethod()

sendNofiticationByMethod(  $intUserID,   $intNotificationID,   $strType,   $strFromUsername,   $strDatasetID,   $strLink,   $strAdditionalData) 

Parameters

$intUserID
$intNotificationID
$strType
$strFromUsername
$strDatasetID
$strLink
$strAdditionalData

markAsRead()

markAsRead(  $strType,   $intUserId,   $mixDatasetID) 

Parameters

$strType
$intUserId
$mixDatasetID

createNotificationsHTML()

createNotificationsHTML(  $arrNotifications) 

Parameters

$arrNotifications

parseLang()

parseLang(  $strName,   $strUsername,   $strAdditionalDatas,   $intCount = 1,   $strLang = false) 

Parameters

$strName
$strUsername
$strAdditionalDatas
$intCount
$strLang

check_permission()

check_permission(  $mixPermission,   $intUserID) 

Parameters

$mixPermission
$intUserID