public function _message($type, $message)
    {
        $context = $this->_context;

        $cssClasses = isset($this->_cssClasses[$type]) ? $this->_cssClasses[$type] : '';

        $context->messages[] = '<div class="' . $cssClasses . '">' . $message . '</div>' . PHP_EOL;
    }
public function _message($type, $message)
    {
        $context = $this->_context;

        $cssClasses = isset($this->_cssClasses[$type]) ? $this->_cssClasses[$type] : '';

        $context->messages[] = '<div class="' . $cssClasses . '">' . $message . '</div>' . PHP_EOL;
    }
public function _message ( $ type , $ message ) { $ context = $ this -> _context ; $ cssClasses = isset ( $ this -> _cssClasses [ $ type ] ) ? $ this -> _cssClasses [ $ type ] : '' ; $ context -> messages [ ] = '<div class="' . $ cssClasses . '">' . $ message . '</div>' . PHP_EOL ; }
Outputs a message

@param string $type
@param string $message

@return void
Outputs a message