src/classes/CCEvent.php
public static function pass( $event, $param = null ) {
		
		if ( !array_key_exists( $event, static::$events ) ) {
			return $param;
		}
		
		$event = static::$events[$event];
		
		if ( array_key_exists( 'before', $event ) ) {
			$param = static::call( $event['before'], $param, true );
		}
		
		if ( array_key_exists( 'callbacks', $event ) ) {
			$param = static::call( $event['callbacks'], $param, true );
		}
		
		if ( array_key_exists( 'after', $event ) ) {
			$param = static::call( $event['after'], $param, true );
		}
		
		return $param;
	}
public static function pass( $event, $param = null ) {
		
		if ( !array_key_exists( $event, static::$events ) ) {
			return $param;
		}
		
		$event = static::$events[$event];
		
		if ( array_key_exists( 'before', $event ) ) {
			$param = static::call( $event['before'], $param, true );
		}
		
		if ( array_key_exists( 'callbacks', $event ) ) {
			$param = static::call( $event['callbacks'], $param, true );
		}
		
		if ( array_key_exists( 'after', $event ) ) {
			$param = static::call( $event['after'], $param, true );
		}
		
		return $param;
	}
public static function pass ( $ event , $ param = null ) { if ( ! array_key_exists ( $ event , static :: $ events ) ) { return $ param ; } $ event = static :: $ events [ $ event ] ; if ( array_key_exists ( 'before' , $ event ) ) { $ param = static :: call ( $ event [ 'before' ] , $ param , true ) ; } if ( array_key_exists ( 'callbacks' , $ event ) ) { $ param = static :: call ( $ event [ 'callbacks' ] , $ param , true ) ; } if ( array_key_exists ( 'after' , $ event ) ) { $ param = static :: call ( $ event [ 'after' ] , $ param , true ) ; } return $ param ; }
pass an var to an event
the diffrence to fire is that the param gets modified by each event

@param string	$event
@param mixed		$param
@return mixed
pass an var to an event the diffrence to fire is that the param gets modified by each event