Lines Matching refs:value
14 protected function cleanValue($value) argument
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"' : '';
54 $value = is_null($this->local) ? $this->default : $this->local;
55 if ($value == $input) return false;