BoothItemStatus
in package
FinalYes
Enumeration of booth item visibility/status states.
Table of Contents
Constants
Methods
- all() : array<string|int, string>
- Return all allowed status values.
- isArchived() : bool
- Whether the given status is archived.
- isValid() : bool
- isVisible() : bool
- Whether the given status is visible.
Constants
ARCHIVED
public
mixed
ARCHIVED
= 'archived'
DRAFT
public
mixed
DRAFT
= 'draft'
HIDDEN
public
mixed
HIDDEN
= 'hidden'
VISIBLE
public
mixed
VISIBLE
= 'visible'
Methods
all()
Return all allowed status values.
public
static all() : array<string|int, string>
Return values
array<string|int, string>isArchived()
Whether the given status is archived.
public
static isArchived(string $status) : bool
Parameters
- $status : string
Return values
boolisValid()
public
static isValid(string $status) : bool
Parameters
- $status : string
Return values
boolisVisible()
Whether the given status is visible.
public
static isVisible(string $status) : bool
Parameters
- $status : string