PHP Class Backend\Modules\ContentBlocks\ValueObject\ContentBlockStatus

Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( )
active ( ) : self
archived ( ) : self
fromString ( $status ) : self
getPossibleStatuses ( ) : array
isActive ( ) : boolean
isArchived ( ) : boolean

Private Methods

Méthode Description
__construct ( string $status )
setStatus ( string $status )

Method Details

__toString() public méthode

public __toString ( )

active() public static méthode

public static active ( ) : self
Résultat self

archived() public static méthode

public static archived ( ) : self
Résultat self

fromString() public static méthode

public static fromString ( $status ) : self
$status
Résultat self

getPossibleStatuses() public static méthode

public static getPossibleStatuses ( ) : array
Résultat array

isActive() public méthode

public isActive ( ) : boolean
Résultat boolean

isArchived() public méthode

public isArchived ( ) : boolean
Résultat boolean