protected static function get_observing_classes(\core\event\base $event) {
        $classname = get_class($event);
        $observers = array('\\'.$classname);
        while ($classname = get_parent_class($classname)) {
            $observers[] = '\\'.$classname;
        }
        $observers = array_reverse($observers, false);

        return $observers;
    }
protected static function get_observing_classes(\core\event\base $event) {
        $classname = get_class($event);
        $observers = array('\\'.$classname);
        while ($classname = get_parent_class($classname)) {
            $observers[] = '\\'.$classname;
        }
        $observers = array_reverse($observers, false);

        return $observers;
    }
protected static function get_observing_classes ( \ core \ event \ base $ event ) { $ classname = get_class ( $ event ) ; $ observers = array ( '\\' . $ classname ) ; while ( $ classname = get_parent_class ( $ classname ) ) { $ observers [ ] = '\\' . $ classname ; } $ observers = array_reverse ( $ observers , false ) ; return $ observers ; }
Returns list of classes related to this event.
@param \core\event\base $event
@return array
Returns list of classes related to this event .