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