private function _attachEventListeners($componentId)
{
if (isset($this->_pendingEvents[$componentId])) {
$component = $this->getComponent($componentId, false);
if ($component) {
foreach ($this->_pendingEvents[$componentId] as $eventName => $handlers) {
foreach ($handlers as $handler) {
$component->{$eventName} = $handler;
}
}
}
}
}