PHP 클래스 Backend\Modules\ContentBlocks\ValueObject\ContentBlockStatus

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

공개 메소드들

메소드 설명
__toString ( )
active ( ) : self
archived ( ) : self
fromString ( $status ) : self
getPossibleStatuses ( ) : array
isActive ( ) : boolean
isArchived ( ) : boolean

비공개 메소드들

메소드 설명
__construct ( string $status )
setStatus ( string $status )

메소드 상세

__toString() 공개 메소드

public __toString ( )

active() 공개 정적인 메소드

public static active ( ) : self
리턴 self

archived() 공개 정적인 메소드

public static archived ( ) : self
리턴 self

fromString() 공개 정적인 메소드

public static fromString ( $status ) : self
$status
리턴 self

getPossibleStatuses() 공개 정적인 메소드

public static getPossibleStatuses ( ) : array
리턴 array

isActive() 공개 메소드

public isActive ( ) : boolean
리턴 boolean

isArchived() 공개 메소드

public isArchived ( ) : boolean
리턴 boolean