968. Class

968.1. Zend\View\Helper\InlineScript

Helper for setting and retrieving script elements for inclusion in HTML body section

968.1.1. Methods

968.1.1.1. __invoke

__invoke()

Return InlineScript object

Returns InlineScript helper object; optionally, allows specifying a script or script file to include.

Parameters:
  • string – Script or file
  • string – Script/url
  • string – Append, prepend, or set
  • array – Array of script attributes
  • string – Script type and/or array of script attributes
Return type:

ZendViewHelperInlineScript

Project Versions

Table Of Contents

Previous topic

967. Class

Next topic

969. Class

This Page