protected getCaptionControlID ( ) : string | ||
return | string | find the client ID of the caption control. |
protected function getCaptionControlID()
{
if (($id = $this->getCaptionID()) !== '') {
if ($control = $this->getParent()->findControl($id)) {
if ($control->getVisible(true)) {
return $control->getClientID();
}
} else {
return $id;
}
}
return '';
}