PHP 클래스 Newscoop\Entity\Notification

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

공개 프로퍼티들

프로퍼티 타입 설명
$status_enum to code mapper for status
$type_enum to code mapper for status

보호된 프로퍼티들

프로퍼티 타입 설명
$content string
$id integer
$status string
$type integer

공개 메소드들

메소드 설명
getContent ( ) : string Get the content of the notification
getId ( ) : integer Get id
getStatus ( ) : integer Get status
getType ( ) : integer Get Type of the notification for now only comment type
setContent ( string $p_content ) : Newscoop\Entity\Notification Set the content of the notification
setStatus ( integer $p_status ) : Newscoop\Entity\Notification Set status
setType ( integer $p_type ) : Newscoop\Entity\Notification Set Type of the notification for now only comment type

메소드 상세

getContent() 공개 메소드

Get the content of the notification
public getContent ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getStatus() 공개 메소드

Get status
public getStatus ( ) : integer
리턴 integer

getType() 공개 메소드

Get Type of the notification for now only comment type
public getType ( ) : integer
리턴 integer

setContent() 공개 메소드

Set the content of the notification
public setContent ( string $p_content ) : Newscoop\Entity\Notification
$p_content string
리턴 Newscoop\Entity\Notification

setStatus() 공개 메소드

Set status
public setStatus ( integer $p_status ) : Newscoop\Entity\Notification
$p_status integer
리턴 Newscoop\Entity\Notification

setType() 공개 메소드

Set Type of the notification for now only comment type
public setType ( integer $p_type ) : Newscoop\Entity\Notification
$p_type integer
리턴 Newscoop\Entity\Notification

프로퍼티 상세

$content 보호되어 있는 프로퍼티

protected string $content
리턴 string

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$status 보호되어 있는 프로퍼티

protected string $status
리턴 string

$status_enum 정적으로 공개적으로 프로퍼티

to code mapper for status
static public $status_enum

$type 보호되어 있는 프로퍼티

protected int $type
리턴 integer

$type_enum 정적으로 공개적으로 프로퍼티

to code mapper for status
static public $type_enum