public getLabelAttributes ( ) : TMap | ||
Результат | TMap | list of attributes to be rendered for label beside the checkbox |
/** * @return string checkbox label ID; */ protected function getDefaultLabelID() { if ($attributes = $this->getViewState('LabelAttributes', null)) { return TCheckBox::getLabelAttributes()->itemAt('id'); } else { return $this->getClientID() . '_label'; } }