src/View/Helper/FlashHelper.php
public function message($message, $options = null) {
		$options = $this->_mergeOptions($options);
		$options['message'] = $message;

		return $this->_View->element($options['element'], $options);
	}
public function message($message, $options = null) {
		$options = $this->_mergeOptions($options);
		$options['message'] = $message;

		return $this->_View->element($options['element'], $options);
	}
public function message ( $ message , $ options = null ) { $ options = $ this -> _mergeOptions ( $ options ) ; $ options [ 'message' ] = $ message ; return $ this -> _View -> element ( $ options [ 'element' ] , $ options ) ; }
Outputs a single flash message directly.
Note that this does not use the Session.

@param string $message String to output.
@param array|string|null $options Options

@return string HTML
Outputs a single flash message directly . Note that this does not use the Session .