public function flash($config = array())
    {
        $data = $this->_template->getData();

        if (isset($data['flash']) && $data['flash']->message) {
            $message = array_merge((array) $data['flash']->getMessage(true), $config);
            return $this->message($message['message'], $message);
        }
    }
public function flash($config = array())
    {
        $data = $this->_template->getData();

        if (isset($data['flash']) && $data['flash']->message) {
            $message = array_merge((array) $data['flash']->getMessage(true), $config);
            return $this->message($message['message'], $message);
        }
    }
public function flash ( $ config = array ( ) ) { $ data = $ this -> _template -> getData ( ) ; if ( isset ( $ data [ 'flash' ] ) && $ data [ 'flash' ] -> message ) { $ message = array_merge ( ( array ) $ data [ 'flash' ] -> getMessage ( true ) , $ config ) ; return $ this -> message ( $ message [ 'message' ] , $ message ) ; } }
Render the message in the flash.

@param array $config

@return string
Render the message in the flash .