Methods
Constructor
__construct()
Map constants to doctype strings, and set default doctype
String representation of doctype
__toString() : string
Retrieve doctype
getDoctype() : string
Get doctype => string mappings
getDoctypes() : array
Is doctype HTML5? (HeadMeta uses this for validation)
isHtml5() : bool
Is doctype RDFa?
isRdfa() : bool
Is doctype XHTML?
isXhtml() : bool
Set the View object
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::setView() |
Parameters
Returns
Unset the static doctype registry
unsetDoctypeRegistry() : void
Register the default doctypes we understand
registerDefaultDoctypes() : void
Properties
Default DocType
$defaultDoctype : string
<p>Shared doctypes to use throughout all instances</p>
$registeredDoctypes : \ArrayObject
Registry containing current doctype and mappings
$registry : \ArrayObject
Constants
CUSTOM_XHTML
CUSTOM_XHTML
HTML4_FRAMESET
HTML4_FRAMESET
HTML4_STRICT
HTML4_STRICT
XHTML1_FRAMESET
XHTML1_FRAMESET
XHTML1_RDFA11
XHTML1_RDFA11
XHTML1_STRICT
XHTML1_STRICT
XHTML1_TRANSITIONAL
XHTML1_TRANSITIONAL
XHTML_BASIC1
XHTML_BASIC1