getLabelAttributes() public method

public getLabelAttributes ( ) : TMap
return TMap list of attributes to be rendered for label beside the checkbox
Beispiel #1
0
 /**
  * @return string checkbox label ID;
  */
 protected function getDefaultLabelID()
 {
     if ($attributes = $this->getViewState('LabelAttributes', null)) {
         return TCheckBox::getLabelAttributes()->itemAt('id');
     } else {
         return $this->getClientID() . '_label';
     }
 }