PHP 인터페이스 Flarum\Core\Notification\BlueprintInterface

파일 보기 프로젝트 열기: flarum/core 0 사용 예제들

공개 메소드들

메소드 설명
getData ( ) : array | null Get the data to be stored in the notification.
getSender ( ) : User | null Get the user that sent the notification.
getSubject ( ) : AbstractModel | null Get the model that is the subject of this activity.
getSubjectModel ( ) : string Get the name of the model class for the subject of this activity.
getType ( ) : string Get the serialized type of this activity.

메소드 상세

getData() 공개 메소드

Get the data to be stored in the notification.
public getData ( ) : array | null
리턴 array | null

getSender() 공개 메소드

Get the user that sent the notification.
public getSender ( ) : User | null
리턴 Flarum\Core\User | null

getSubject() 공개 메소드

Get the model that is the subject of this activity.
public getSubject ( ) : AbstractModel | null
리턴 Flarum\Database\AbstractModel | null

getSubjectModel() 공개 정적인 메소드

Get the name of the model class for the subject of this activity.
public static getSubjectModel ( ) : string
리턴 string

getType() 공개 정적인 메소드

Get the serialized type of this activity.
public static getType ( ) : string
리턴 string