API Documentation

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_View  
subpackage
Helper  
version
$Id: HeadMeta.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_View_Helper_HeadMeta

Zend_Layout_View_Helper_HeadMeta

Extends from
\Zend_View_Helper_Placeholder_Container_Standalone
see
\http://www.w3.org/TR/xhtml1/dtds.html  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_View  
subpackage
Helper  
uses
\Zend_View_Helper_Placeholder_Container_Standalone  

Properties

Propertyprotected  $_modifierKeys= 'array'
Default valuearrayDetails
Type
Propertyprotectedstring  $_regKey= 'Zend_View_Helper_HeadMeta'
registry key

Registry key under which container registers itself

Default valueZend_View_Helper_HeadMetaDetails
Type
string
Propertyprotected  $_requiredKeys= 'array'
Default valuearrayDetails
Type
Propertyprotectedarray  $_typeKeys= 'array'

Types of attributes

Default valuearrayDetails
Type
array

Methods

methodpublic__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())

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
\Zend_View_Helper_HeadMeta
methodpublic__construct( ) : void

Constructor

Set separator to PHP_EOL

methodpublic__get( string $key ) : mixed

Overloading: retrieve property

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__get()
Parameters
Name Type Description
$key string
Returns
Type Description
mixed
methodpublic__isset( string $key ) : bool

Overloading: check if property is set

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__isset()
Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpublic__set( string $key, mixed $value ) : void

Overloading: set property value

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__set()
Parameters
Name Type Description
$key string
$value mixed
methodpublic__toString( ) : string

Cast to string representation

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__toString()
Returns
Type Description
string
methodpublic__unset( string $key ) : void

Overloading: unset property

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__unset()
Parameters
Name Type Description
$key string
methodprotected_escape( string $string ) : string
Parameters
Name Type Description
$string string
Returns
Type Description
string
methodprotected_isValid( mixed $item ) : boolean

Determine if item is valid

Parameters
Name Type Description
$item mixed
Returns
Type Description
boolean
methodprotected_normalizeType(  $type ) : void

Parameters
Name Type Description
$type
methodpublicappend( string $value ) : void

Append

Parameters
Name Type Description
$value string
Throws
Exception Description
\Zend_View_Exception
methodpubliccount( ) : int
Returns
Type Description
int
methodpubliccreateData( string $type, string $typeValue, string $content, array $modifiers ) : \stdClass

Create data item for inserting into stack

Parameters
Name Type Description
$type string
$typeValue string
$content string
$modifiers array
Returns
Type Description
\stdClass
methodpublicdirect( ) : void

Strategy pattern: currently unutilized

Inherited from: \Zend_View_Helper_Abstract::direct()
methodpublicgetAutoEscape( ) : void

Return whether autoEscaping is enabled or disabled

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::getAutoEscape()

return bool

methodpublicgetIterator( ) : \Iterator

IteratorAggregate: get Iterator

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::getIterator()
Returns
Type Description
\Iterator
methodpublicheadMeta( string $content = null, string $keyValue = null, string $keyType = name, array $modifiers = array, string $placement = Zend_View_Helper_Placeholder_Container_Abstract ) : \Zend_View_Helper_HeadMeta

Retrieve object instance; optionally add meta tag

Parameters
Name Type Description
$content string
$keyValue string
$keyType string
$modifiers array
$placement string
Returns
Type Description
\Zend_View_Helper_HeadMeta
methodpublicitemToString(  $item ) : string

Build meta HTML string

Parameters
Name Type Description
$item
Returns
Type Description
string
methodpublicoffsetExists( string|int $offset ) : bool

ArrayAccess: offsetExists

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::offsetExists()
Parameters
Name Type Description
$offset string|int
Returns
Type Description
bool
methodpublicoffsetGet( string|int $offset ) : mixed
Parameters
Name Type Description
$offset string|int
Returns
Type Description
mixed
methodpublicoffsetSet( string|int $index, string $value ) : void

OffsetSet

Parameters
Name Type Description
$index string|int
$value string
Throws
Exception Description
\Zend_View_Exception
methodpublicoffsetUnset( string|int $index ) : void

OffsetUnset

Parameters
Name Type Description
$index string|int
Throws
Exception Description
\Zend_View_Exception
methodpublicprepend( string $value ) : void

Prepend

Parameters
Name Type Description
$value string
Throws
Exception Description
\Zend_View_Exception
methodpublicset( string $value ) : void

Set

Parameters
Name Type Description
$value string
Throws
Exception Description
\Zend_View_Exception
methodpublicsetAutoEscape( bool $autoEscape = true ) : \Zend_View_Helper_Placeholder_Container_Standalone

Set whether or not auto escaping should be used

Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::setAutoEscape()
Parameters
Name Type Description
$autoEscape bool whether or not to auto escape output
Returns
Type Description
\Zend_View_Helper_Placeholder_Container_Standalone
methodpublicsetCharset( string $charset ) : \Zend_View_Helper_HeadMeta

Create an HTML5-style meta charset tag. Something like

Not valid in a non-HTML5 doctype

Parameters
Name Type Description
$charset string
Returns
Type Description
\Zend_View_Helper_HeadMeta Provides a fluent interface
methodpublicsetView( \Zend_View_Interface $view ) : \Zend_View_Helper_Abstract

Set the View object

Inherited from: \Zend_View_Helper_Abstract::setView()
Parameters
Name Type Description
$view \Zend_View_Interface
Returns
Type Description
\Zend_View_Helper_Abstract
methodpublictoString( string|int $indent = null ) : string

Render placeholder as string

Parameters
Name Type Description
$indent string|int
Returns
Type Description
string
Documentation was generated by DocBlox 0.13.3.