View/Helper/HtmlElement.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_View  
Subpackage
Helper  
Version
$Id$  

\Zend_View_Helper_HtmlElement

Package: Zend_View\Helper
Parent(s)
\Zend_View_Helper_Abstract
Children
\Zend_Dojo_View_Helper_Dijit
\Zend_View_Helper_FormElement
\Zend_View_Helper_Navigation_HelperAbstract
\Zend_View_Helper_HtmlObject
\Zend_View_Helper_Gravatar
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  EOL = "\n"
EOL character

Properties

>VPropertyprotectedstring $_closingBracket = null
The tag closing bracket
Default valuenullDetails
Type
string

Methods

methodprotected_htmlAttribs(array $attribs) : string

Converts an associative array to a string of tag attributes.

Parameters
NameTypeDescription
$attribsarray

From this array, each key-value pair is converted to an attribute name and value.

Returns
TypeDescription
stringThe XHTML for the attributes.
Details
Access
public  
methodprotected_isHtml5() : boolean

Is doctype HTML5?

Returns
TypeDescription
boolean
methodprotected_isStrictDoctype() : boolean

Is doctype strict?

Returns
TypeDescription
boolean
methodprotected_isXhtml() : boolean

Is doctype XHTML?

Returns
TypeDescription
boolean
methodprotected_normalizeId(string $value) : string

Normalize an ID

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
string
methodpublicgetClosingBracket() : string

Get the tag closing bracket

Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .