public function getHeader()
    {
        switch ($this->type) {
            case self::TYPE_ERROR:
                $header = 'Error!';
                break;
            case self::TYPE_WARNING:
                $header = 'Warning!';
                break;
            case self::TYPE_INFO:
                $header = 'Info';
                break;
            case self::TYPE_SUCCESS:
                $header = 'Success';
                break;
            default:
                $header = 'Info';
                break;
        }

        return $header;
    }
public function getHeader()
    {
        switch ($this->type) {
            case self::TYPE_ERROR:
                $header = 'Error!';
                break;
            case self::TYPE_WARNING:
                $header = 'Warning!';
                break;
            case self::TYPE_INFO:
                $header = 'Info';
                break;
            case self::TYPE_SUCCESS:
                $header = 'Success';
                break;
            default:
                $header = 'Info';
                break;
        }

        return $header;
    }
public function getHeader ( ) { switch ( $ this -> type ) { case self :: TYPE_ERROR : $ header = 'Error!' ; break ; case self :: TYPE_WARNING : $ header = 'Warning!' ; break ; case self :: TYPE_INFO : $ header = 'Info' ; break ; case self :: TYPE_SUCCESS : $ header = 'Success' ; break ; default : $ header = 'Info' ; break ; } return $ header ; }
Get header title.

@return string
Get header title .