API Documentation

ZendX/JQuery/View/Helper/JQuery.php

Includes |Classes |

Properties

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.


Includes

ZendX/JQuery.php (Require Once)
Zend/Registry.php (Require Once)
Zend/View/Helper/Abstract.php (Require Once)
ZendX/JQuery/View/Helper/JQuery/Container.php (Require Once)

Classes

ZendX_JQuery_View_Helper_JQuery

Properties

 
 
View  
No 
No 

Description

jQuery Helper. Functions as a stack for code and loads all jQuery dependencies.

Methods

__call, __construct, disableNoConflictMode, enableNoConflictMode, getJQueryHandler, getNoConflictMode, jQuery, setView,

__call( string   $method, array   $args, ) : mixed

Description

Proxy to container methods

Arguments

Name Type Description Default
$method string |
$args array |

Return value

Type Description
mixed

Tags

Name Description
throws For invalid method calls

__construct( ) : void

Description

Initialize helper

Retrieve container from registry or create new container and store in registry.


Return value

Type Description
void

disableNoConflictMode( ) : void

Description

Disable noConflict Mode of jQuery if this was previously enabled.

Return value

Type Description
void

enableNoConflictMode( ) : n/a

Description

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

Return value

Type Description
n/a n/a

Tags

Name Description
link http://docs.jquery.com/Using_jQuery_with_Other_Libraries

getJQueryHandler( ) : String

Description

Return current jQuery handler based on noConflict mode settings.

Return value

Type Description
String

getNoConflictMode( ) : Boolean

Description

Return current status of the jQuery no Conflict Mode

Return value

Type Description
Boolean

jQuery( ) : ZendX_JQuery_View_Helper_JQuery_Container

Description

Return jQuery View Helper class, to execute jQuery library related functions.

Return value

Type Description
ZendX_JQuery_View_Helper_JQuery_Container

setView( Zend_View_Interface   $view, ) : void

Description

Set view object

Arguments

Name Type Description Default
$view Zend_View_Interface |

Return value

Type Description
void

Properties

$noConflictMode, $view,

  private  static $noConflictMode = false

jQuery no Conflict Mode


  public  $view =

Zend_View_Interface


Documentation was generated by DocBlox.