Configuration
| Name | Type |
Description |
|---|---|---|
| reload |
boolean |
Set to true to reload the page in editmode after changing the state |
Accessable Methods & Types
| Name |
Type |
Description |
|---|---|---|
| value |
boolean |
Status of the checkbox |
| isChecked() |
boolean |
Get status of the checkbox |
Simple Example
<?php echo $this->checkbox("myCheckbox") ?>
Advanced Example
<?php if( $this->checkbox("myCheckbox")->isChecked() ) { ?> //Code <? } ?>