1 | <?php |
||
8 | class SettingOnoff extends SettingNumeric { |
||
9 | |||
10 | /** |
||
11 | * We treat the strings 'false' and 'off' as false |
||
12 | * @inheritdoc |
||
13 | */ |
||
14 | protected function cleanValue($value) { |
||
25 | |||
26 | /** @inheritdoc */ |
||
27 | public function html(\admin_plugin_config $plugin, $echo = false) { |
||
45 | |||
46 | /** @inheritdoc */ |
||
47 | public function update($input) { |
||
57 | } |
||
58 |