public function setDefaultValue($value) { parent::setDefaultValue($value); if (is_array($this->disabled) && !is_array($value)) { $key = key(array($value => NULL)); if (isset($this->disabled[$key]) && $this->value === NULL) { $this->value = $key; } } return $this; }