protected getDefaultLabelID ( ) : string | ||
return | string | radio button label ID; |
protected function getDefaultLabelID()
{
if ($attributes = $this->getViewState('LabelAttributes', null)) {
return $this->getLabelAttributes()->itemAt('id');
} else {
return $this->getClientID() . '_label';
}
}