/** * Checks the radio button. * Updates radio button checked state on the client-side if the * {@link setEnableUpdate EnableUpdate} property is set to true. * @param boolean whether the radio button is to be checked or not. */ public function setChecked($value) { $value = TPropertyValue::ensureBoolean($value); if (parent::getChecked() === $value) { return; } parent::setChecked($value); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->check($this, $value); } }