kernel/private/classes/ezpevent.php
public function registerEventListeners()
    {
        if ( $this->loadGlobalEvents )
        {
            $listeners = eZINI::instance()->variable( 'Event', 'Listeners' );
            foreach ( $listeners as $listener )
            {
                // $listener may be empty if some override logic has been involved
                if ( $listener == "" )
                {
                    continue;
                }

                // format from ini is seperated by @
                list( $event, $callback ) = explode( '@', $listener );
                $this->attach( $event, $callback );
            }
        }
    }
public function registerEventListeners()
    {
        if ( $this->loadGlobalEvents )
        {
            $listeners = eZINI::instance()->variable( 'Event', 'Listeners' );
            foreach ( $listeners as $listener )
            {
                // $listener may be empty if some override logic has been involved
                if ( $listener == "" )
                {
                    continue;
                }

                // format from ini is seperated by @
                list( $event, $callback ) = explode( '@', $listener );
                $this->attach( $event, $callback );
            }
        }
    }
public function registerEventListeners ( ) { if ( $ this -> loadGlobalEvents ) { $ listeners = eZINI :: instance ( ) -> variable ( 'Event' , 'Listeners' ) ; foreach ( $ listeners as $ listener ) { // $listener may be empty if some override logic has been involved if ( $ listener == "" ) { continue ; } // format from ini is seperated by @ list ( $ event , $ callback ) = explode ( '@' , $ listener ) ; $ this -> attach ( $ event , $ callback ) ; } } }
Registers the event listeners defined the site.ini files.
Registers the event listeners defined the site . ini files .