View/Helper/HtmlPage.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_View
- Subpackage
- Helper
- Version
- $Id: HtmlPage.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_View_Helper_HtmlPage
- Parent(s)
- \Zend_View_Helper_HtmlObject < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants

EOL
= "\n"
EOL character
Inherited from: \Zend_View_Helper_HtmlElement::EOL\Zend_View_Helper_HtmlObject::EOL- Inherited_from
- \Zend_View_Helper_HtmlElement::EOL
- Inherited_from
- \Zend_View_Helper_HtmlObject::EOL
Properties


array $_attribs = array('classid' => self::ATTRIB_CLASSID)
Default attributes
array('classid' => self::ATTRIB_CLASSID)
Details- Type
- array


string $_closingBracket = null
The tag closing bracket
Inherited from: \Zend_View_Helper_HtmlElement::$$_closingBracket\Zend_View_Helper_HtmlObject::$$_closingBracketnull
Details- Type
- string
- Inherited_from
- \Zend_View_Helper_HtmlElement::$$_closingBracket
- Inherited_from
- \Zend_View_Helper_HtmlObject::$$_closingBracket


\Zend_View_Interface $view = null
View object
Inherited from: \Zend_View_Helper_Abstract::$$view\Zend_View_Helper_HtmlElement::$$view\Zend_View_Helper_HtmlObject::$$viewnull
Details- Type
- \Zend_View_Interface
- Inherited_from
- \Zend_View_Helper_Abstract::$$view
- Inherited_from
- \Zend_View_Helper_HtmlElement::$$view
- Inherited_from
- \Zend_View_Helper_HtmlObject::$$view
Methods


_htmlAttribs(array $attribs) : string
Converts an associative array to a string of tag attributes.
Inherited from: \Zend_View_Helper_HtmlElement::_htmlAttribs()\Zend_View_Helper_HtmlObject::_htmlAttribs()Name | Type | Description |
---|---|---|
$attribs | array | From this array, each key-value pair is converted to an attribute name and value. |
Type | Description |
---|---|
string | The XHTML for the attributes. |
- Access
- public


_isStrictDoctype() : boolean
Is doctype strict?
Inherited from: \Zend_View_Helper_HtmlElement::_isStrictDoctype()\Zend_View_Helper_HtmlObject::_isStrictDoctype()Type | Description |
---|---|
boolean |


_isXhtml() : boolean
Is doctype XHTML?
Inherited from: \Zend_View_Helper_HtmlElement::_isXhtml()\Zend_View_Helper_HtmlObject::_isXhtml()Type | Description |
---|---|
boolean |


_normalizeId(string $value) : string
Normalize an ID
Inherited from: \Zend_View_Helper_HtmlElement::_normalizeId()\Zend_View_Helper_HtmlObject::_normalizeId()Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |


direct() : void
Strategy pattern: currently unutilized
Inherited from: \Zend_View_Helper_Abstract::direct()\Zend_View_Helper_HtmlElement::direct()\Zend_View_Helper_HtmlObject::direct()

getClosingBracket() : string
Get the tag closing bracket
Inherited from: \Zend_View_Helper_HtmlElement::getClosingBracket()\Zend_View_Helper_HtmlObject::getClosingBracket()Type | Description |
---|---|
string |


htmlObject(string $data, string $type, array $attribs = array(), array $params = array(), string $content = null) : string
Name | Type | Description |
---|---|---|
$data | string | The data file |
$type | string | Data file type |
$attribs | array | Attribs for the object tag |
$params | array | Params for in the object tag |
$content | string | Alternative content for object |
Type | Description |
---|---|
string |


htmlPage(string $data, array $attribs = array(), array $params = array(), string $content = null) : string
Output a html object tag
Name | Type | Description |
---|---|---|
$data | string | The html url |
$attribs | array | Attribs for the object tag |
$params | array | Params for in the object tag |
$content | string | Alternative content |
Type | Description |
---|---|
string |


setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Set the View object
Inherited from: \Zend_View_Helper_Abstract::setView()\Zend_View_Helper_HtmlElement::setView()\Zend_View_Helper_HtmlObject::setView()Name | Type | Description |
---|---|---|
$view | \Zend_View_Interface |
Type | Description |
---|---|
\Zend_View_Helper_Abstract |