Public Member Functions | |
__construct () | |
doctype ($doctype=null) | |
setDoctype ($doctype) | |
getDoctype () | |
getDoctypes () | |
isXhtml () | |
__toString () | |
Data Fields | |
const | XHTML11 = 'XHTML11' |
const | XHTML1_STRICT = 'XHTML1_STRICT' |
const | XHTML1_TRANSITIONAL = 'XHTML1_TRANSITIONAL' |
const | XHTML1_FRAMESET = 'XHTML1_FRAMESET' |
const | XHTML_BASIC1 = 'XHTML_BASIC1' |
const | HTML4_STRICT = 'HTML4_STRICT' |
const | HTML4_LOOSE = 'HTML4_LOOSE' |
const | HTML4_FRAMESET = 'HTML4_FRAMESET' |
const | HTML5 = 'HTML5' |
const | CUSTOM_XHTML = 'CUSTOM_XHTML' |
const | CUSTOM = 'CUSTOM' |
Protected Attributes | |
$_defaultDoctype = self::HTML4_LOOSE | |
$_registry | |
$_regKey = 'Zend_View_Helper_Doctype' |
Definition at line 37 of file Doctype.php.
__construct | ( | ) |
Constructor
Map constants to doctype strings, and set default doctype
Definition at line 80 of file Doctype.php.
__toString | ( | ) |
doctype | ( | $ | doctype = null ) |
Set or retrieve doctype
string | $doctype |
Definition at line 109 of file Doctype.php.
getDoctype | ( | ) |
getDoctypes | ( | ) |
isXhtml | ( | ) |
setDoctype | ( | $ | doctype ) |
Set doctype
string | $doctype |
Definition at line 149 of file Doctype.php.
#@+ DocType constants
Definition at line 42 of file Doctype.php.