getMessageCategory() (tick_24Validator Engine Only)

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 "CSS 2.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)

41 - returns $GENCOMPATHTML51 if available else "General Compatibility (HTML 5.1)" (for HTML 5.1 specific elements, attributes, or other that might not be widely supported or might be problematic) (New v12.0113)

42 - returns $LEGACYCAT if available else "Legacy" (New v14.00)

43 - returns $MOBILECAT if available else "Mobile" (New v14.00)

44 - returns $SECURITYCAT if available else "Security" (New v14.00)

45 - returns $MISSINGATTSCAT if available else "Possibly Missing Attributes" (New v14.00)

46 - returns $MAYNOTBEWANTEDCAT if available else "May Not Be Wanted" (New v14.00)

47 - returns $XHTMLFEATUREINHTMLCAT if available else "XHTML Feature in HTML" (New v14.00)

48 - returns $CSS4PROPERTIESCAT if available else "CSS4 Properties" (New v14.0015)

49 - returns $MOZILLACAT if available else "Mozilla (Firefox)" (New v14.0022)

50 - returns $NOTSTANDARDSCOMPLIANTCAT if available else "Not Standards-compliant" (New v14.0105)

51 - returns $CSS4PLUSVALUECAT if available else "CSS4 Values" (New v15.00)

52 - returns $OBSOLETECAT if available else "Obsolete" (New v15.00)

53 - returns $CSS4PLUSCAT if available else "CSS4" (New v15.00)

This function is supported only in CSE HTML Validator v10.0210 and later.