diff --git documentation/manual/en/module_specs/Zend_View-Helpers-Doctype.xml documentation/manual/en/module_specs/Zend_View-Helpers-Doctype.xml index 17251b4..0fb27e8 100644 --- documentation/manual/en/module_specs/Zend_View-Helpers-Doctype.xml +++ documentation/manual/en/module_specs/Zend_View-Helpers-Doctype.xml @@ -87,6 +87,16 @@ if ($view->doctype()->isXhtml()) { // do something differently } ]]> + + + You can also check if the doctype represents an HTML5 document + + + doctype()->isHtml5()) { + // do something differently +} +]]>