protected function call( $type, $params ) {
		if ( !isset( $this->callbacks[$type] ) ) {
			return;
		}
		foreach ( $this->callbacks[$type] as $callback ) {
			if ( is_callable( $callback ) ) {
				call_user_func_array( $callback, $params );
			}
		}
	}
protected function call( $type, $params ) {
		if ( !isset( $this->callbacks[$type] ) ) {
			return;
		}
		foreach ( $this->callbacks[$type] as $callback ) {
			if ( is_callable( $callback ) ) {
				call_user_func_array( $callback, $params );
			}
		}
	}
protected function call ( $ type , $ params ) { if ( ! isset ( $ this -> callbacks [ $ type ] ) ) { return ; } foreach ( $ this -> callbacks [ $ type ] as $ callback ) { if ( is_callable ( $ callback ) ) { call_user_func_array ( $ callback , $ params ) ; } } }
Call all the registered callbacks of a particular type.
@param int $type The callback type; should match one of the 'CALLBACK_' constants.
@param mixed[] $params The parameters to pass to the callback function.
Call all the registered callbacks of a particular type .