Source of file FlexiFormBooleanHandlerSetting.php
Size: 0,351 Bytes - Last Modified: 2021-12-24T06:34:15+00:00
/var/www/docs.ssmods.com/process/src/code/model/flexiformhandlers/settings/FlexiFormBooleanHandlerSetting.php
123456789101112131415161718 | <?php class FlexiFormBooleanHandlerSetting extends FlexiFormHandlerSetting { private static $casting = array( 'Value' => 'Boolean' ); public function getCMSField($name) { return new CheckboxField($name,null,$this->getValue()); } public function getValue(){ return (bool) parent::getValue(); } } |