Public Member Functions | Static Public Member Functions | Data Fields

ZendX_JQuery_View_Helper_JQuery Class Reference

Inheritance diagram for ZendX_JQuery_View_Helper_JQuery:
Zend_View_Helper_Abstract Zend_View_Helper_Interface

Public Member Functions

 __construct ()
 jQuery ()
 setView (Zend_View_Interface $view)
 __call ($method, $args)

Static Public Member Functions

static enableNoConflictMode ()
static disableNoConflictMode ()
static getNoConflictMode ()
static getJQueryHandler ()

Data Fields

 $view

Detailed Description

Definition at line 52 of file JQuery.php.


Constructor & Destructor Documentation

__construct (  )

Initialize helper

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

Returns:
void

Definition at line 75 of file JQuery.php.


Member Function Documentation

__call ( method,
args 
)

Proxy to container methods

Parameters:
string$method
array$args
Returns:
mixed
Exceptions:
Zend_View_ExceptionFor invalid method calls

Definition at line 116 of file JQuery.php.

static disableNoConflictMode (  ) [static]

Disable noConflict Mode of jQuery if this was previously enabled.

Returns:
void

Definition at line 143 of file JQuery.php.

static enableNoConflictMode (  ) [static]

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

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Definition at line 133 of file JQuery.php.

static getJQueryHandler (  ) [static]

Return current jQuery handler based on noConflict mode settings.

Returns:
String

Definition at line 163 of file JQuery.php.

static getNoConflictMode (  ) [static]

Return current status of the jQuery no Conflict Mode

Returns:
Boolean

Definition at line 153 of file JQuery.php.

jQuery (  )

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

Returns:
ZendX_JQuery_View_Helper_JQuery_Container

Definition at line 91 of file JQuery.php.

setView ( Zend_View_Interface view )

Set view object

Parameters:
Zend_View_Interface$view
Returns:
void

Reimplemented from Zend_View_Helper_Abstract.

Definition at line 102 of file JQuery.php.


The documentation for this class was generated from the following file: