JQuery/View/Helper/JQuery.php
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-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- ZendX_JQuery
- Subpackage
- View
- Version
- $Id: JQuery.php 20184 2010-01-10 21:22:54Z freak $
\ZendX_JQuery_View_Helper_JQuery
Functions as a stack for code and loads all jQuery dependencies.
- Parent(s)
- \Zend_View_Helper_Abstract
- Copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Json
Properties


$noConflictMode = false
false
Details- Type
- n/a
- See
- \http://docs.jquery.com/Using_jQuery_with_Other_Libraries
- Staticvar
- Boolean Status of noConflict Mode
Methods


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


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


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


enableNoConflictMode() : void
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() : String
Return current jQuery handler based on noConflict mode settings.
Type | Description |
---|---|
String |


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


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