API Documentation

View/Helper/InlineScript.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
version
$Id: InlineScript.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_View_Helper_InlineScript

Description

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.

Zend_View_Helper_InlineScript

Extends from
Zend_View_Helper_HeadScript
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
uses
Zend_View_Helper_Head_Script
Properties
$_regKey
Methods
inlineScript

Description

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

Properties

$_regKey

string $_regKey = 'Zend_View_Helper_InlineScript'

Registry key for placeholder

Details

$_regKey
string
visibility
protected
default
Zend_View_Helper_InlineScript
final
false
static
false

Methods

inlineScript

inlineScript( string $mode = Zend_View_Helper_HeadScript, 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.

Arguments
$mode
string
Script or file
$spec
string
Script/url
$placement
string
Append, prepend, or set
$attrs
array
Array of script attributes
$type
string
Script type and/or array of script attributes
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.