View/Helper/InlineScript.php

Show: PublicProtectedPrivateinherited
Table of Contents
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_InlineScript

Package: Zend_View\Helper
Helper for setting and retrieving script elements for inclusion in HTML body section
Parent(s)
\Zend_View_Helper_HeadScript < \Zend_View_Helper_Placeholder_Container_Standalone < \Zend_View_Helper_Abstract
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
 

Properties

>VPropertyprotectedstring $_regKey = 'Zend_View_Helper_InlineScript'
Registry key for placeholder
Default value'Zend_View_Helper_InlineScript'Details
Type
string

Methods

methodpublicinlineScript(string $mode = \Zend_View_Helper_HeadScript::FILE, string $spec = null, string $placement = 'APPEND', array $attrs = array(), string $type = 'text/javascript') : \Zend_View_Helper_InlineScript

Return InlineScript object

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

Script or file

$specstring

Script/url

$placementstring

Append, prepend, or set

$attrsarray

Array of script attributes

$typestring

Script type and/or array of script attributes

Returns
TypeDescription
\Zend_View_Helper_InlineScript
Documentation was generated by phpDocumentor 2.2.0 .