protected getTargetControl ( ) : string | ||
리턴 | string | target control client ID or html element ID if control is not found in hierarchy. |
protected function getTargetControl()
{
$id = $this->getControlID();
if (($control = $this->findControl($id)) instanceof TControl) {
return $control->getClientID();
}
if ($id === '') {
throw new TConfigurationException('ttriggeredcallback_invalid_controlid', get_class($this));
}
return $id;
}