private function getStaticEventHandlersAll($class, $event) { $inspectedClass = $class; $eventHandlers = false; do { $additionalEventHandlers = $this->getStaticEventHandlersStrict($inspectedClass, $event); if ($additionalEventHandlers !== false) { if ($eventHandlers === false) { $eventHandlers = new CList(); $eventHandlers->copyFrom($additionalEventHandlers); } else { $eventHandlers->mergeWith($additionalEventHandlers); } } $inspectedClass = get_parent_class($inspectedClass); } while ($inspectedClass !== false && $this->componentHasEvent($inspectedClass, $event)); return $eventHandlers; }