string getMessageCategory(int $cat)
•Returns a category string specified by $cat. If $cat is invalid, then returns an empty string.
•$cat
•1 - returns $SECTION508 if available else "Section 508 Accessibility Standards"
•2 - returns $WCAG10 if available else "WCAG 1.0"
•3 - returns $ACCESSTIPS if available else "Accessibility Tips"
•4 - returns $GENACCESS if available else "General Accessibility"
•5 - returns $GENCOMPAT if available else "General Compatibility"
•6 - returns $XHTMLCOMPAT if available else "XHTML Compatibility"
•7 - returns $XHTMLBASICCOMPAT if available else "XHTML Basic Compatibility"
•8 - returns $XHTML11COMPAT if available else "XHTML 1.1 Compatibility"
•9 - returns $MSIE if available else "Microsoft Internet Explorer"
•10 - returns $NETSCAPE if available else "Netscape" (legacy)
•11 - returns $STYLE if available else "Good Style"
•12 - returns $CSSCOMPAT if available else "CSS1/CSS2 Compatibility"
•13 - returns $HTML40COMPAT if available else "HTML 4.0 Compatibility"
•14 - returns $XHTML10COMPAT if available else "XHTML 1.0 Compatibility"
•15 - returns $DEPRECATED if available else "Deprecated"
•16 - returns $GENERAL if available else "General"
•17 - returns $CSS21COMPAT if available else "CSS2.1 Compatibility"
•18 - returns $CSSGENCOMPAT if available else "CSS General Compatibility"
•19 - returns $CSS30COMPAT if available else "CSS3 Compatibility"
•20 - returns $CSS3DEPRECATED if available else "CSS3 Deprecated"
•21 - returns $SEARCHENGINE if available else "Search Engine"
•22 - returns $CLF20MSGCAT if available else "Common Look and Feel 2.0 (Canada)"
•23 - returns $WCAG20 if available else "WCAG 2.0"
•24 - returns $NOTHTML5COMPAT if available else "Not HTML5 Compatible"
•25 - returns $GENCOMPATHTML5 if available else "General Compatibility (HTML5)" (for HTML5 specific elements, attributes, or other that might not be widely supported or might be problematic)
•26 - returns $CSS3PLUSVALUECAT if available else "CSS3 Values"
•27 - returns $CSS3PLUSPROPERTIESCAT if available else "CSS3 Properties"
•28 - returns $CSS3PLUSCAT if available else "CSS3"
•29 - returns getMessageCategory(23) if WCAG 2.0 checking is enabled, else getMessageCategory(4)
•30 - returns $TIPS if available else "Tips"
•31 - returns $WAIARIA if available else "WAI-ARIA"
•32 - returns $NOATTRIBUTESCAT if available else "No Attributes" (New v11.0043)
•33 - returns $ASSUMEDDEFAULTSCAT if available else "Assumed Defaults" (New v11.0043)
•34 - returns $EXTRAWHITESPACECAT if available else "Extra Whitespace" (New v11.0043)
•35 - returns $PUSELESSCAT if available else "Useless or Possibly Useless" (New v11.0043)
•36 - returns $CSS3BEYONDCAT if available else "Beyond CSS3" (New v11.0043)
•37 - returns $CSSMULTIPLEDEFS if available else "Multiple Definitions" (New v11.0043)
•38 - returns $MATHMLCAT if available else "MathML" (New v11.9922)
•39 - returns $DOCTYPEMISMATCH if available else "Document Type Mismatch" (New v12.0033)
•40 - returns $AVOIDCONFLICT if available else "Avoid Potential Conflict" (New v12.0036)
•Not all possible values documented here
•This function is supported only in CSE HTML Validator v10.0210 and later.