PHP 클래스 Forum\Notification\Notification

파일 보기 프로젝트 열기: asika32764/natika 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

addNotification() 공개 정적인 메소드

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

getNotification() 공개 정적인 메소드

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

getNotifications() 공개 정적인 메소드

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

removeNotification() 공개 정적인 메소드

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