Lines Matching defs:value
14 protected function cleanValue($value)
16 if ($value === null) return null;
18 if (is_string($value)) {
19 if (strtolower($value) === 'false') return 0;
20 if (strtolower($value) === 'off') return 0;
21 if (trim($value) === '') return 0;
24 return (int) (bool) $value;
33 $value = $this->protected;
36 $value = is_null($this->local) ? $this->default : $this->local;
40 $checked = ($value) ? ' checked="checked"' : '';
44 ']" type="checkbox" class="checkbox" value="1"' . $checked . $disable . '/></div>';
54 $value = is_null($this->local) ? $this->default : $this->local;
55 if ($value == $input) return false;