PHP Class Forum\Notification\Notification

显示文件 Open project: asika32764/natika Class Usage Examples

Public Methods

Method 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 method

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

getNotification() public static method

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

getNotifications() public static method

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

removeNotification() public static method

removeNotification
public static removeNotification ( string $type, integer $targetId, integer $userId ) : boolean
$type string
$targetId integer
$userId integer
return boolean