View/Helper/HeadMeta.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 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_HeadMeta
Package: Zend_View\Helper
Returns
Returns
Zend_Layout_View_Helper_HeadMeta
- Parent(s)
- \Zend_View_Helper_Placeholder_Container_Standalone < \Zend_View_Helper_Abstract
- See
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Properties
string $_regKey = 'Zend_View_Helper_HeadMeta'
registry key
Default value
'Zend_View_Helper_HeadMeta'
Details- Type
- string
Methods
__call(string $method, array $args) : \Zend_View_Helper_HeadMeta
Overload method access
Allows the following 'virtual' methods:
- appendName($keyValue, $content, $modifiers = array())
- offsetGetName($index, $keyValue, $content, $modifers = array())
- prependName($keyValue, $content, $modifiers = array())
- setName($keyValue, $content, $modifiers = array())
- appendHttpEquiv($keyValue, $content, $modifiers = array())
- offsetGetHttpEquiv($index, $keyValue, $content, $modifers = array())
- prependHttpEquiv($keyValue, $content, $modifiers = array())
- setHttpEquiv($keyValue, $content, $modifiers = array())
- appendProperty($keyValue, $content, $modifiers = array())
- offsetGetProperty($index, $keyValue, $content, $modifiers = array())
- prependProperty($keyValue, $content, $modifiers = array())
- setProperty($keyValue, $content, $modifiers = array())
ParametersName | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
\Zend_View_Helper_HeadMeta |
_isValid(mixed $item) : boolean
Determine if item is valid
Parameters
Returns
Name | Type | Description |
---|---|---|
$item | mixed |
Type | Description |
---|---|
boolean |
append(string $value) : void
Append
Parameters
Throws
Name | Type | Description |
---|---|---|
$value | string |
Exception | Description |
---|---|
\Zend_View_Exception |
createData(string $type, string $typeValue, string $content, array $modifiers) : \stdClass
Create data item for inserting into stack
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string | |
$typeValue | string | |
$content | string | |
$modifiers | array |
Type | Description |
---|---|
\stdClass |
headMeta(string $content = null, string $keyValue = null, string $keyType = 'name', array $modifiers = array(), string $placement = \Zend_View_Helper_Placeholder_Container_Abstract::APPEND) : \Zend_View_Helper_HeadMeta
Retrieve object instance; optionally add meta tag
Parameters
Returns
Name | Type | Description |
---|---|---|
$content | string | |
$keyValue | string | |
$keyType | string | |
$modifiers | array | |
$placement | string |
Type | Description |
---|---|
\Zend_View_Helper_HeadMeta |
itemToString( $item) : string
Build meta HTML string
Parameters
Returns
Name | Type | Description |
---|---|---|
$item |
Type | Description |
---|---|
string |
offsetSet(string | int $index, string $value) : void
OffsetSet
Parameters
Throws
Name | Type | Description |
---|---|---|
$index | string | int | |
$value | string |
Exception | Description |
---|---|
\Zend_View_Exception |
offsetUnset(string | int $index) : void
OffsetUnset
Parameters
Throws
Name | Type | Description |
---|---|---|
$index | string | int |
Exception | Description |
---|---|
\Zend_View_Exception |
prepend(string $value) : void
Prepend
Parameters
Throws
Name | Type | Description |
---|---|---|
$value | string |
Exception | Description |
---|---|
\Zend_View_Exception |
set(string $value) : void
Set
Parameters
Throws
Name | Type | Description |
---|---|---|
$value | string |
Exception | Description |
---|---|
\Zend_View_Exception |
setCharset(string $charset) : \Zend_View_Helper_HeadMeta
Create an HTML5-style meta charset tag. Something like
Not valid in a non-HTML5 doctype
ParametersName | Type | Description |
---|---|---|
$charset | string |
Type | Description |
---|---|
\Zend_View_Helper_HeadMeta | Provides a fluent interface |