View/Helper/HtmlElement.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_View
- subpackage
- Helper
- version
- $Id: HtmlElement.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_View_Helper_HtmlElement
Description
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.
Zend_View_Helper_HtmlElement
- Extends from
- Zend_View_Helper_Abstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_View
- subpackage
- Helper
- Constants
- EOL
- Properties
- $_closingBracket
- Methods
- getClosingBracket
- _isXhtml
- _htmlAttribs
- _normalizeId
Description
Constants
EOL = '\n'
EOL character
Details
- value
- \n
Properties
string $_closingBracket = 'null'
The tag closing bracket
Details
- $_closingBracket
- string
- visibility
- protected
- default
- null
- final
- false
- static
- false
Methods
_htmlAttribs(
array $attribs
)
:
string
Converts an associative array to a string of tag attributes.
Arguments
- $attribs
- array
From this array, each key-value pair is converted to an attribute name and value.
Output
- string
- The XHTML for the attributes.
Details
- visibility
- protected
- final
- false
- static
- false
- access
- public
_isXhtml(
)
:
boolean
Is doctype XHTML?
Details
- visibility
- protected
- final
- false
- static
- false
_normalizeId(
string $value
)
:
string
Normalize an ID
Details
- visibility
- protected
- final
- false
- static
- false
getClosingBracket(
)
:
string
Get the tag closing bracket
Details
- visibility
- public
- final
- false
- static
- false