PHP Class Forum\Notification\Notification

Afficher le fichier Open project: asika32764/natika Class Usage Examples

Méthodes publiques

Méthode Description
addNotification ( string $type = 'topic', integer $targetId, integer $userId ) : mixed | Windwalker\Data\Data addNotification
getNotification ( string $type, integer $targetId, integer $userId ) : mixed | Windwalker\Data\Data getNotification
getNotifications ( string $type, integer $targetId ) : mixed | Windwalker\Data\DataSet getNotifications
removeNotification ( string $type, integer $targetId, integer $userId ) : boolean removeNotification

Method Details

addNotification() public static méthode

addNotification
public static addNotification ( string $type = 'topic', integer $targetId, integer $userId ) : mixed | Windwalker\Data\Data
$type string
$targetId integer
$userId integer
Résultat mixed | Windwalker\Data\Data

getNotification() public static méthode

getNotification
public static getNotification ( string $type, integer $targetId, integer $userId ) : mixed | Windwalker\Data\Data
$type string
$targetId integer
$userId integer
Résultat mixed | Windwalker\Data\Data

getNotifications() public static méthode

getNotifications
public static getNotifications ( string $type, integer $targetId ) : mixed | Windwalker\Data\DataSet
$type string
$targetId integer
Résultat mixed | Windwalker\Data\DataSet

removeNotification() public static méthode

removeNotification
public static removeNotification ( string $type, integer $targetId, integer $userId ) : boolean
$type string
$targetId integer
$userId integer
Résultat boolean