Choose how to display the current page
| package | salt\view |
|---|
edit()
isEdit(string $type = NULL) : boolean
stringViewControl type to check, or NULL for current
booleanTRUE if parameter (or current if parameter NULL) is EDITisShow(string $type = NULL) : boolean
stringViewControl type to check, or NULL for current
booleanTRUE if parameter (or current if parameter NULL) is SHOWisText(string $type = NULL) : boolean
stringViewControl type to check, or NULL for current
booleanTRUE if parameter (or current if parameter NULL) is TEXTshow()
text()
$type : string
self::SHOWEDIT = 'edit'
SHOW = 'show'
TEXT = 'text'