library/rampage/core/events/SharedEventManager.php
protected function addConfigListeners($id, $event)
    {
        if (isset($this->configuredEvents[$id][$event]) || !$this->canAddConfig || !$this->config) {
            return $this;
        }

        // Disable config load now to avoid being triggerd recursively by inner events
        $this->canAddConfig = false;

        $this->config->configureEventManager($this, $id, $event);
        $this->configuredEvents[$id][$event] = true;

        // Add wildcard events if not done, yet
        if (!isset($this->configuredEvents[$id]['*'])) {
            $this->config->configureEventManager($this, $id, '*');
            $this->configuredEvents[$id]['*'] = true;
        }

        $this->canAddConfig = true;
        return $this;
    }
protected function addConfigListeners($id, $event)
    {
        if (isset($this->configuredEvents[$id][$event]) || !$this->canAddConfig || !$this->config) {
            return $this;
        }

        // Disable config load now to avoid being triggerd recursively by inner events
        $this->canAddConfig = false;

        $this->config->configureEventManager($this, $id, $event);
        $this->configuredEvents[$id][$event] = true;

        // Add wildcard events if not done, yet
        if (!isset($this->configuredEvents[$id]['*'])) {
            $this->config->configureEventManager($this, $id, '*');
            $this->configuredEvents[$id]['*'] = true;
        }

        $this->canAddConfig = true;
        return $this;
    }
protected function addConfigListeners ( $ id , $ event ) { if ( isset ( $ this -> configuredEvents [ $ id ] [ $ event ] ) || ! $ this -> canAddConfig || ! $ this -> config ) { return $ this ; } // Disable config load now to avoid being triggerd recursively by inner events $ this -> canAddConfig = false ; $ this -> config -> configureEventManager ( $ this , $ id , $ event ) ; $ this -> configuredEvents [ $ id ] [ $ event ] = true ; // Add wildcard events if not done, yet if ( ! isset ( $ this -> configuredEvents [ $ id ] [ '*' ] ) ) { $ this -> config -> configureEventManager ( $ this , $ id , '*' ) ; $ this -> configuredEvents [ $ id ] [ '*' ] = true ; } $ this -> canAddConfig = true ; return $ this ; }
Add config events

@param string $id
@param string $event
Add config events