kernel/private/classes/ezpevent.php
public function notify( $name, array $params = array() )
    {
        if ( empty( $this->listeners[$name] ) )
        {
            return false;
        }

        foreach ( $this->listeners[$name] as $listener )
        {
            call_user_func_array( $listener, $params );
        }
        return true;
    }
public function notify( $name, array $params = array() )
    {
        if ( empty( $this->listeners[$name] ) )
        {
            return false;
        }

        foreach ( $this->listeners[$name] as $listener )
        {
            call_user_func_array( $listener, $params );
        }
        return true;
    }
public function notify ( $ name , array $ params = array ( ) ) { if ( empty ( $ this -> listeners [ $ name ] ) ) { return false ; } foreach ( $ this -> listeners [ $ name ] as $ listener ) { call_user_func_array ( $ listener , $ params ) ; } return true ; }
Notify all listeners of an event

@param string $name In the form "content/delete/1", "content/delete", "content/read"
@param array $params The arguments for the specific event as simple array structure (not hash)
@return bool True if some listener where called
Notify all listeners of an event