1
1
<?php
2
2
/**
3
- * Hobo ZF
3
+ * BundlePhu
4
4
*
5
5
* LICENSE
6
6
*
7
7
* This source file is subject to the new BSD license that is bundled
8
8
* with this package in the file LICENSE. This license can also be viewed
9
9
* at http://hobodave.com/license.txt
10
10
*
11
- * @category Hobo
12
- * @package Hobo_View
11
+ * @category BundlePhu
12
+ * @package BundlePhu_View
13
13
* @subpackage Helper
14
14
* @author David Abdemoulaie <[email protected] >
15
15
* @copyright Copyright (c) 2010 David Abdemoulaie (http://hobodave.com/)
19
19
/**
20
20
* Helper for bundling of all included javascripts into a single file
21
21
*
22
- * @category Hobo
23
- * @package Hobo_View
22
+ * @category BundlePhu
23
+ * @package BundlePhu_View
24
24
* @subpackage Helper
25
25
* @author David Abdemoulaie <[email protected] >
26
26
* @copyright Copyright (c) 2010 David Abdemoulaie (http://hobodave.com/)
27
27
* @license http://hobodave.com/license.txt New BSD License
28
28
**/
29
- class Hobo_View_Helper_BundleScript extends Zend_View_Helper_HeadScript
29
+ class BundlePhu_View_Helper_BundleScript extends Zend_View_Helper_HeadScript
30
30
{
31
31
/**
32
32
* local Zend_View reference
@@ -39,7 +39,7 @@ class Hobo_View_Helper_BundleScript extends Zend_View_Helper_HeadScript
39
39
* Registry key for placeholder
40
40
* @var string
41
41
*/
42
- protected $ _regKey = 'Hobo_View_Helper_BundleScript ' ;
42
+ protected $ _regKey = 'BundlePhu_View_Helper_BundleScript ' ;
43
43
44
44
/**
45
45
* Local reference to $view->baseUrl()
@@ -128,7 +128,7 @@ public function setView(Zend_View_Interface $view)
128
128
/**
129
129
* Proxies to Zend_View_Helper_HeadScript::headScript()
130
130
*
131
- * @return Hobo_View_Helper_BundleScript
131
+ * @return BundlePhu_View_Helper_BundleScript
132
132
*/
133
133
public function bundleScript ()
134
134
{
@@ -141,7 +141,7 @@ public function bundleScript()
141
141
* This is where the bundled files are written.
142
142
*
143
143
* @param string $dir
144
- * @return Hobo_View_Helper_BundleScript
144
+ * @return BundlePhu_View_Helper_BundleScript
145
145
*/
146
146
public function setCacheDir ($ dir )
147
147
{
@@ -157,7 +157,7 @@ public function setCacheDir($dir)
157
157
* if $docRoot == '/var/www/foo' then '/js/foo.js' will be found in '/var/www/foo/js/foo.js'
158
158
*
159
159
* @param string $docRoot
160
- * @return Hobo_View_Helper_BundleScript
160
+ * @return BundlePhu_View_Helper_BundleScript
161
161
*/
162
162
public function setDocRoot ($ docRoot )
163
163
{
@@ -172,7 +172,7 @@ public function setDocRoot($docRoot)
172
172
* will be the src for the script tag.
173
173
*
174
174
* @param string $prefix
175
- * @return Hobo_View_Helper_BundleScript
175
+ * @return BundlePhu_View_Helper_BundleScript
176
176
*/
177
177
public function setUrlPrefix ($ prefix )
178
178
{
@@ -188,7 +188,7 @@ public function setUrlPrefix($prefix)
188
188
* replaced with the generated filename.
189
189
*
190
190
* @param string $command Must contain :filename token
191
- * @return Hobo_View_Helper_BundleScript
191
+ * @return BundlePhu_View_Helper_BundleScript
192
192
*/
193
193
public function setMinifyCommand ($ command )
194
194
{
@@ -204,7 +204,7 @@ public function setMinifyCommand($command)
204
204
* A callback, if defined, will take precedence over a minifyCommand.
205
205
*
206
206
* @param callback $callback
207
- * @return Hobo_View_Helper_BundleScript
207
+ * @return BundlePhu_View_Helper_BundleScript
208
208
**/
209
209
public function setMinifyCallback ($ callback )
210
210
{
@@ -230,7 +230,7 @@ public function setMinifyCallback($callback)
230
230
* gzip_static on;
231
231
*
232
232
* @param bool $bool
233
- * @return Hobo_View_Helper_BundleScript
233
+ * @return BundlePhu_View_Helper_BundleScript
234
234
*/
235
235
public function setUseGzip ($ bool )
236
236
{
@@ -244,7 +244,7 @@ public function setUseGzip($bool)
244
244
* Minification always occurs before compression.
245
245
*
246
246
* @param bool $bool
247
- * @return Hobo_View_Helper_BundleScript
247
+ * @return BundlePhu_View_Helper_BundleScript
248
248
*/
249
249
public function setUseMinify ($ bool )
250
250
{
@@ -256,7 +256,7 @@ public function setUseMinify($bool)
256
256
* Sets the level of compression to pass to gzencode()
257
257
*
258
258
* @param int $level
259
- * @return Hobo_View_Helper_BundleScript
259
+ * @return BundlePhu_View_Helper_BundleScript
260
260
**/
261
261
public function setGzipLevel ($ level )
262
262
{
@@ -268,7 +268,7 @@ public function setGzipLevel($level)
268
268
* Sets the encoding mode to be passed to gzencode()
269
269
*
270
270
* @param int $encodingMode FORCE_GZIP|FORCE_DEFLATE
271
- * @return Hobo_View_Helper_BundleScript
271
+ * @return BundlePhu_View_Helper_BundleScript
272
272
**/
273
273
public function setGzipEncoding ($ encodingMode )
274
274
{
0 commit comments