__construct()
__invoke()
__toString()
getDoctype()
getDoctypes()
getView()
isHtml5()
isRdfa()
isXhtml()
setDoctype()
setView()
unsetDoctypeRegistry()
registerDefaultDoctypes()
$defaultDoctype
$registeredDoctypes
$registry
$view
CUSTOM
CUSTOM_XHTML
HTML4_FRAMESET
HTML4_LOOSE
HTML4_STRICT
HTML5
XHTML11
XHTML1_FRAMESET
XHTML1_RDFA
XHTML1_RDFA11
XHTML1_STRICT
XHTML1_TRANSITIONAL
XHTML5
XHTML_BASIC1
Helper for setting and retrieving the doctype
__construct()
Map constants to doctype strings, and set default doctype
__invoke(string $doctype) : \Zend\View\Helper\Doctype
__toString() : string
stringgetDoctype() : string
stringgetDoctypes() : array
arraygetView() : null | \Zend\View\Renderer\RendererInterface
| inherited_from | \Zend\View\Helper\AbstractHelper::getView() |
|---|
isHtml5() : bool
boolisRdfa() : bool
boolisXhtml() : bool
boolsetView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
| inherited_from | \Zend\View\Helper\AbstractHelper::setView() |
|---|
unsetDoctypeRegistry() : void
Mainly useful for testing purposes. Sets $registeredDoctypes to a null value.
registerDefaultDoctypes() : void
$defaultDoctype : string
$view : \Zend\View\Renderer\RendererInterface
| inherited_from | \Zend\View\Helper\AbstractHelper::$$view |
|---|
CUSTOM
CUSTOM_XHTML
HTML4_FRAMESET
HTML4_LOOSE
HTML4_STRICT
HTML5
XHTML11
XHTML1_FRAMESET
XHTML1_RDFA
XHTML1_RDFA11
XHTML1_STRICT
XHTML1_TRANSITIONAL
XHTML5
XHTML_BASIC1