public function getValue()
{
return array_key_exists($this->value, $this->items) ? $this->value : NULL;
}
/** * Returns selected radio value. * @return mixed */ public function getValue($raw = FALSE) { if ($raw) { trigger_error(__METHOD__ . '(TRUE) is deprecated; use getRawValue() instead.', E_USER_DEPRECATED); return $this->getRawValue(); } return parent::getValue(); }