public getLabelPart ( $key = NULL ) : Nette\Utils\Html | ||
return | Nette\Utils\Html |
public function getLabelPart($key = NULL)
{
return func_num_args() ? parent::getLabel($this->items[$key])->for($this->getHtmlId() . '-' . $key) : $this->getLabel();
}