• eZ Systems Website • Editor documentation
Back to the top
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Current »
This field type represents a Checkbox status, checked or unchecked.
Checkbox
ezboolean
boolean
The Checkbox Field Type stores the current status for a checkbox input, checked of unchecked, by storing a boolean value.
The Value class of this Field Type contains the following properties:
$bool
false
The Checkbox\Value constructor accepts a boolean value:
Checkbox\Value
As this Field Type is not a string but a bool, it will return "1" (true) or "0" (false) in cases where it is cast to string.