Zend_Layout_View_Helper_HeadMeta

see
uses
package Zend_View
subpackage Helper
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone

 Methods

$this appendHttpEquiv($keyValue, $content, $conditionalHttpEquiv)

() : 
magic
method $this appendHttpEquiv($keyValue, $content, $conditionalHttpEquiv)

Returns

$this appendName($keyValue, $content, $conditionalName)

() : 
magic
method $this appendName($keyValue, $content, $conditionalName)

Returns

$this appendProperty($property, $content, $modifiers)

() : 
magic
method $this appendProperty($property, $content, $modifiers)

Returns

$this offsetSetHttpEquiv($index, $keyValue, $content, $conditionalHttpEquiv)

() : 
magic
method $this offsetSetHttpEquiv($index, $keyValue, $content, $conditionalHttpEquiv)

Returns

$this offsetSetName($index, $keyValue, $content, $conditionalName)

() : 
magic
method $this offsetSetName($index, $keyValue, $content, $conditionalName)

Returns

$this offsetSetProperty($index, $property, $content, $modifiers)

() : 
magic
method $this offsetSetProperty($index, $property, $content, $modifiers)

Returns

$this prependHttpEquiv($keyValue, $content, $conditionalHttpEquiv)

() : 
magic
method $this prependHttpEquiv($keyValue, $content, $conditionalHttpEquiv)

Returns

$this prependName($keyValue, $content, $conditionalName)

() : 
magic
method $this prependName($keyValue, $content, $conditionalName)

Returns

$this prependProperty($property, $content, $modifiers)

() : 
magic
method $this prependProperty($property, $content, $modifiers)

Returns

$this setCharset($charset)

() : 
magic
method $this setCharset($charset)

Returns

$this setHttpEquiv($keyValue, $content, $modifiers)

() : 
magic
method $this setHttpEquiv($keyValue, $content, $modifiers)

Returns

$this setName($keyValue, $content, $modifiers)

() : 
magic
method $this setName($keyValue, $content, $modifiers)

Returns

$this setProperty($property, $content, $modifiers)

() : 
magic
method $this setProperty($property, $content, $modifiers)

Returns

Overload method access

__call(string $method, array $args) : \Zend_View_Helper_HeadMeta

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())
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::__call()

Parameters

$method

string

$args

array

Returns

\Zend_View_Helper_HeadMeta

Overload

__call(string $method, array $args) : mixed
Inherited

Proxy to container methods

Parameters

$method

string

$args

array

Returns

mixed

Constructor

__construct() : void

Set separator to PHP_EOL

inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::__construct()

Constructor

__construct() : void
Inherited

Overloading: retrieve property

__get(string $key) : mixed
Inherited

Parameters

$key

string

Returns

mixed

Overloading: check if property is set

__isset(string $key) : boolean
Inherited

Parameters

$key

string

Returns

boolean

Overloading: set property value

__set(string $key, mixed $value) : void
Inherited

Parameters

$key

string

$value

mixed

Cast to string representation

__toString() : string
Inherited

Returns

string

Overloading: unset property

__unset(string $key) : void
Inherited

Parameters

$key

string

Append

append(string $value) : void

Parameters

$value

string

Exceptions

\Zend_View_Exception

Countable

count() : integer
Inherited

Returns

integer

Create data item for inserting into stack

createData(string $type, string $typeValue, string $content, array $modifiers) : \stdClass

Parameters

$type

string

$typeValue

string

$content

string

$modifiers

array

Returns

\stdClass

Strategy pattern: currently unutilized

direct() : void
Inherited
inherited_from \Zend_View_Helper_Interface::direct()

Return whether autoEscaping is enabled or disabled

getAutoEscape() 
Inherited

return bool

Retrieve placeholder container

getContainer() : \Zend_View_Helper_Placeholder_Container_Abstract
Inherited

Returns

\Zend_View_Helper_Placeholder_Container_Abstract

IteratorAggregate: get Iterator

getIterator() : \Iterator
Inherited

Returns

\Iterator

Retrieve registry

getRegistry() : \Zend_View_Helper_Placeholder_Registry
Inherited

Returns

\Zend_View_Helper_Placeholder_Registry

Retrieve object instance; optionally add meta tag

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

Parameters

$content

string

$keyValue

string

$keyType

string

$modifiers

array

$placement

string

Returns

\Zend_View_Helper_HeadMeta

Build meta HTML string

itemToString(\stdClass $item) : string

Parameters

$item

Returns

string

ArrayAccess: offsetExists

offsetExists(string|integer $offset) : boolean
Inherited

Parameters

$offset

stringinteger

Returns

boolean

ArrayAccess: offsetGet

offsetGet(string|integer $offset) : mixed
Inherited

Parameters

$offset

stringinteger

Returns

mixed

OffsetSet

offsetSet(string|integer $index, string $value) : void
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::offsetSet()

Parameters

$index

stringinteger

$value

string

Exceptions

\Zend_View_Exception

ArrayAccess: offsetSet

offsetSet(string|integer $offset, mixed $value) : void
Inherited

Parameters

$offset

stringinteger

$value

mixed

OffsetUnset

offsetUnset(string|integer $index) : void
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::offsetUnset()

Parameters

$index

stringinteger

Exceptions

\Zend_View_Exception

ArrayAccess: offsetUnset

offsetUnset(string|integer $offset) : void
Inherited

Parameters

$offset

stringinteger

Prepend

prepend(string $value) : void

Parameters

$value

string

Exceptions

\Zend_View_Exception

Set

set(string $value) : void

Parameters

$value

string

Exceptions

\Zend_View_Exception

Set whether or not auto escaping should be used

setAutoEscape(boolean $autoEscape = true) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited

Parameters

$autoEscape

boolean

whether or not to auto escape output

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Create an HTML5-style meta charset tag. Something like <meta charset="utf-8">

setCharset(string $charset) : \Zend_View_Helper_HeadMeta

Not valid in a non-HTML5 doctype

Parameters

$charset

string

Returns

\Zend_View_Helper_HeadMetaProvides a fluent interface

Set container on which to operate

setContainer(\Zend_View_Helper_Placeholder_Container_Abstract $container) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited

Parameters

$container

\Zend_View_Helper_Placeholder_Container_Abstract

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Set registry object

setRegistry(\Zend_View_Helper_Placeholder_Registry $registry) : \Zend_View_Helper_Placeholder_Container_Standalone
Inherited

Parameters

$registry

\Zend_View_Helper_Placeholder_Registry

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Set the View object

setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from \Zend_View_Helper_Interface::setView()

Parameters

$view

\Zend_View_Interface

Returns

\Zend_View_Helper_Abstract

Render placeholder as string

toString(string|integer $indent = null) : string
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::toString()

Parameters

$indent

stringinteger

Returns

string

String representation

toString() : string
Inherited

Returns

string

Escape a string

_escape(string $string) : string
Inherited

Parameters

$string

string

Returns

string

Determine if item is valid

_isValid(mixed $item) : boolean

Parameters

$item

mixed

Returns

boolean

_normalizeType()

_normalizeType($type) 

Parameters

$type

 Properties

 

View object

$view : \Zend_View_Interface

Default

null
 

Flag wheter to automatically escape output, must also be enforced in the child class if __toString/toString is overriden

$_autoEscape : \book

Default

true
 

$_container

$_container : \Zend_View_Helper_Placeholder_Container_Abstract

Default

 

$_modifierKeys

$_modifierKeys 

Default

array('lang', 'scheme')
 

Registry key under which container registers itself

$_regKey : string

Default

'Zend_View_Helper_HeadMeta'
inherited_from \Zend_View_Helper_Placeholder_Container_Standalone::_regKey
 

Registry key under which container registers itself

$_regKey : string

Default

 

$_registry

$_registry : \Zend_View_Helper_Placeholder_Registry

Default

 

$_requiredKeys

$_requiredKeys 

Default

array('content')
 

Types of attributes

$_typeKeys : array

Default

array('name', 'http-equiv', 'charset', 'property')