package |
Zend_View |
subpackage |
Helper |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_View_Helper_Abstract |
Methods
Constructor
__construct() : void
Map constants to doctype strings, and set default doctype
String representation of doctype
__toString() : string
Strategy pattern: currently unutilized
direct() : void
Inherited
inherited_from |
\Zend_View_Helper_Interface::direct() |
Set or retrieve doctype
doctype(string $doctype = null
) : \Zend_View_Helper_Doctype
Parameters
$doctype
string
Returns
\Zend_View_Helper_Doctype
Retrieve doctype
getDoctype() : string
Get doctype => string mappings
getDoctypes() : array
Is doctype HTML5? (HeadMeta uses this for validation)
isHtml5() : \booleean
Is doctype RDFa?
isRdfa() : \booleean
Is doctype strict?
isStrict() : boolean
Is doctype XHTML?
isXhtml() : boolean
Set doctype
setDoctype(string $doctype) : \Zend_View_Helper_Doctype
Parameters
$doctype
string
Returns
\Zend_View_Helper_Doctype
Set the View object
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from |
\Zend_View_Helper_Interface::setView() |
Parameters
$view
\Zend_View_Interface
Returns
\Zend_View_Helper_Abstract
Properties
View object
$view : \Zend_View_Interface
Default DocType
$_defaultDoctype : string
Default
self::HTML4_LOOSE
Registry key in which helper is stored
$_regKey : string
Default
'Zend_View_Helper_Doctype'
Registry containing current doctype and mappings
$_registry : \ArrayObject
Constants
CUSTOM_XHTML
CUSTOM_XHTML = 'CUSTOM_XHTML'
HTML4_FRAMESET
HTML4_FRAMESET = 'HTML4_FRAMESET'
HTML4_LOOSE
HTML4_LOOSE = 'HTML4_LOOSE'
HTML4_STRICT
HTML4_STRICT = 'HTML4_STRICT'
XHTML11
XHTML11 = 'XHTML11'
XHTML1_FRAMESET
XHTML1_FRAMESET = 'XHTML1_FRAMESET'
XHTML1_RDFA
XHTML1_RDFA = 'XHTML1_RDFA'
XHTML1_RDFA11
XHTML1_RDFA11 = 'XHTML1_RDFA11'
XHTML1_STRICT
XHTML1_STRICT = 'XHTML1_STRICT'
XHTML1_TRANSITIONAL
XHTML1_TRANSITIONAL = 'XHTML1_TRANSITIONAL'
XHTML_BASIC1
XHTML_BASIC1 = 'XHTML_BASIC1'