public function show($type = null, $format = null)
    {
        $messages = $this->getMessagesForRender($type);

        $this->groupForRender = array();

        $output = '';

        foreach ($messages as $message) {
            if (!$message->isFlash()) {
                if (!is_null($format)) {
                    $message->setFormat($format);
                }

                $output .= $message->render();
            }
        }

        return $output;
    }
public function show($type = null, $format = null)
    {
        $messages = $this->getMessagesForRender($type);

        $this->groupForRender = array();

        $output = '';

        foreach ($messages as $message) {
            if (!$message->isFlash()) {
                if (!is_null($format)) {
                    $message->setFormat($format);
                }

                $output .= $message->render();
            }
        }

        return $output;
    }
public function show ( $ type = null , $ format = null ) { $ messages = $ this -> getMessagesForRender ( $ type ) ; $ this -> groupForRender = array ( ) ; $ output = '' ; foreach ( $ messages as $ message ) { if ( ! $ message -> isFlash ( ) ) { if ( ! is_null ( $ format ) ) { $ message -> setFormat ( $ format ) ; } $ output .= $ message -> render ( ) ; } } return $ output ; }
Returns generated output of non flash messages.

@param null $type
@param null $format
@return string
Returns generated output of non flash messages .