956. Class

956.1. Zend\View\Helper\HeadMeta

Zend_Layout_View_Helper_HeadMeta

956.1.1. Methods

956.1.1.1. __construct

__construct()

Constructor

Set separator to PHP_EOL

956.1.1.2. __invoke

__invoke()

Retrieve object instance; optionally add meta tag

Parameters:
  • string
  • string
  • string
  • array
  • string
Return type:

ZendViewHelperHeadMeta

956.1.1.3. normalizeType

normalizeType()

Normalize type attribute of meta

Parameters:string – type in CamelCase
Return type:string
Throws :ExceptionDomainException

956.1.1.4. __call

__call()

Overload method access

Allows the following ‘virtual’ methods: - appendName($keyValue, $content, $modifiers = array()) - offsetGetName($index, $keyValue, $content, $modifiers = array()) - prependName($keyValue, $content, $modifiers = array()) - setName($keyValue, $content, $modifiers = array()) - appendHttpEquiv($keyValue, $content, $modifiers = array()) - offsetGetHttpEquiv($index, $keyValue, $content, $modifiers = 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:
  • string
  • array
Return type:

ZendViewHelperHeadMeta

Throws :

ExceptionBadMethodCallException

956.1.1.5. setCharset

setCharset()

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

Not valid in a non-HTML5 doctype

Parameters:string
Return type:ZendViewHelperHeadMeta Provides a fluent interface

956.1.1.6. isValid

isValid()

Determine if item is valid

Parameters:mixed
Return type:bool

956.1.1.7. append

append()

Append

Parameters:string
Return type:void
Throws :ExceptionInvalidArgumentException

956.1.1.8. offsetSet

offsetSet()

OffsetSet

Parameters:
  • string|int
  • string
Return type:

void

Throws :

ExceptionInvalidArgumentException

956.1.1.9. offsetUnset

offsetUnset()

OffsetUnset

Parameters:string|int
Return type:void
Throws :ExceptionInvalidArgumentException

956.1.1.10. prepend

prepend()

Prepend

Parameters:string
Return type:void
Throws :ExceptionInvalidArgumentException

956.1.1.11. set

set()

Set

Parameters:string
Return type:void
Throws :ExceptionInvalidArgumentException

956.1.1.12. itemToString

itemToString()

Build meta HTML string

Parameters:stdClass
Throws ExceptionInvalidArgumentException:
 
Return type:string

956.1.1.13. toString

toString()

Render placeholder as string

Parameters:string|int
Return type:string

956.1.1.14. createData

createData()

Create data item for inserting into stack

Parameters:
  • string
  • string
  • string
  • array
Return type:

stdClass