Zend Framework
3.0
|
Renders <html> tag (both opening and closing) of a web page, to which some custom attributes can be added dynamically. More...
Public Member Functions | |
__invoke (array $attribs=[]) | |
Retrieve object instance; optionally add attributes. | |
setAttribute ($attrName, $attrValue) | |
Set new attribute. | |
setAttributes (array $attribs) | |
Add new or overwrite the existing attributes. | |
getAttributes () | |
setUseNamespaces ($useNamespaces) | |
getUseNamespaces () | |
openTag () | |
Render opening tag. | |
closeTag () | |
Render closing tag. | |
Public Member Functions inherited from AbstractHtmlElement | |
getClosingBracket () | |
Get the tag closing bracket. | |
Public Member Functions inherited from AbstractHelper | |
setView (Renderer $view) | |
Set the View object. | |
getView () | |
Get the view object. | |
Protected Member Functions | |
handleNamespaceAttributes () | |
Protected Member Functions inherited from AbstractHtmlElement | |
isXhtml () | |
Is doctype XHTML? | |
htmlAttribs ($attribs) | |
Converts an associative array to a string of tag attributes. | |
normalizeId ($value) | |
Normalize an ID. | |
Protected Attributes | |
$attributes = [] | |
$useNamespaces = false | |
Protected Attributes inherited from AbstractHtmlElement | |
$closingBracket = null | |
Protected Attributes inherited from AbstractHelper | |
$view = null | |
Additional Inherited Members | |
Public Attributes inherited from AbstractHtmlElement | |
const | EOL = PHP_EOL |
EOL character. | |
Renders <html> tag (both opening and closing) of a web page, to which some custom attributes can be added dynamically.
__invoke | ( | array | $attribs = [] | ) |
Retrieve object instance; optionally add attributes.
array | $attribs |
closeTag | ( | ) |
Render closing tag.
getAttributes | ( | ) |
getUseNamespaces | ( | ) |
|
protected |
openTag | ( | ) |
Render opening tag.
setAttribute | ( | $attrName, | |
$attrValue | |||
) |
Set new attribute.
string | $attrName | |
string | $attrValue |
setAttributes | ( | array | $attribs | ) |
Add new or overwrite the existing attributes.
array | $attribs |
setUseNamespaces | ( | $useNamespaces | ) |
bool | $useNamespaces |
|
protected |
|
protected |