13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_View |
16 * @package Zend_View |
17 * @subpackage Helper |
17 * @subpackage Helper |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @version $Id: HeadScript.php 24960 2012-06-15 14:09:34Z adamlundrigan $ |
19 * @version $Id$ |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
21 */ |
21 */ |
22 |
22 |
23 /** Zend_View_Helper_Placeholder_Container_Standalone */ |
23 /** Zend_View_Helper_Placeholder_Container_Standalone */ |
24 require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; |
24 require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; |
27 * Helper for setting and retrieving script elements for HTML head section |
27 * Helper for setting and retrieving script elements for HTML head section |
28 * |
28 * |
29 * @uses Zend_View_Helper_Placeholder_Container_Standalone |
29 * @uses Zend_View_Helper_Placeholder_Container_Standalone |
30 * @package Zend_View |
30 * @package Zend_View |
31 * @subpackage Helper |
31 * @subpackage Helper |
32 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
34 * @method $this appendFile($src, $type = 'text/javascript', array $attrs = array()) |
|
35 * @method $this appendScript($script, $type = 'text/javascript', array $attrs = array()) |
|
36 * @method $this offsetSetFile($index, $src, $type = 'text/javascript', array $attrs = array()) |
|
37 * @method $this offsetSetScript($index, $script, $type = 'text/javascript', array $attrs = array()) |
|
38 * @method $this prependFile($src, $type = 'text/javascript', array $attrs = array()) |
|
39 * @method $this prependScript($script, $type = 'text/javascript', array $attrs = array()) |
|
40 * @method $this setFile($src, $type = 'text/javascript', array $attrs = array()) |
|
41 * @method $this setScript($script, $type = 'text/javascript', array $attrs = array()) |
34 */ |
42 */ |
35 class Zend_View_Helper_HeadScript extends Zend_View_Helper_Placeholder_Container_Standalone |
43 class Zend_View_Helper_HeadScript extends Zend_View_Helper_Placeholder_Container_Standalone |
36 { |
44 { |
37 /**#@+ |
45 /**#@+ |
38 * Script type contants |
46 * Script type contants |