JQuery/View/Helper/JQuery.php
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
- ZendX
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- ZendX_JQuery
- Subpackage
- View
- Version
- $Id$
\ZendX_JQuery_View_Helper_JQuery
Package: ZendX_JQuery\View







jQuery Helper. Functions as a stack for code and loads all jQuery dependencies.
- Parent(s)
- \Zend_View_Helper_Abstract
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Properties
Methods

__call(string $method, array $args) : mixedProxy to container methods
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |
| Exception | Description |
|---|---|
| \Zend_View_Exception | For invalid method calls |

__construct() : voidInitialize helper
Retrieve container from registry or create new container and store in
registry.

disableNoConflictMode() : voidstatic
Disable noConflict Mode of jQuery if this was previously enabled.

enableNoConflictMode() : voidstatic
Enable the jQuery internal noConflict Mode to work with other Javascript libraries. Will setup jQuery in the variable $j instead of $ to overcome conflicts.

getJQueryHandler() : Stringstatic
Return current jQuery handler based on noConflict mode settings.
Returns
| Type | Description |
|---|---|
| String |

getNoConflictMode() : Booleanstatic
Return current status of the jQuery no Conflict Mode
Returns
| Type | Description |
|---|---|
| Boolean |

jQuery() : \ZendX_JQuery_View_Helper_JQuery_ContainerReturn jQuery View Helper class, to execute jQuery library related functions.
Returns
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setView(\Zend_View_Interface $view) : voidSet view object
Parameters
| Name | Type | Description |
|---|---|---|
| $view | \Zend_View_Interface |