API Documentation

ZendX/JQuery/View/Helper/JQuery.php

Show: inherited
Table of Contents

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-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

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-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\Zend_Json  

Properties

Propertyprivate  $noConflictMode= 'false'
static

jQuery no Conflict Mode

Default valuefalseDetails
Type
See
\http://docs.jquery.com/Using_jQuery_with_Other_Libraries  
Staticvar
Boolean Status of noConflict Mode  
Propertypublic\Zend_View_Interface  $view= ''

Details
Type
\Zend_View_Interface

Methods

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

Proxy to container methods

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
Throws
Exception Description
\Zend_View_Exception For invalid method calls
methodpublic__construct( ) : void

Initialize helper

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

methodpublicdisableNoConflictMode( ) : void
static

Disable noConflict Mode of jQuery if this was previously enabled.

methodpublicenableNoConflictMode( ) : void
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.

methodpublicgetJQueryHandler( ) : String
static

Return current jQuery handler based on noConflict mode settings.

Returns
Type Description
String
methodpublicgetNoConflictMode( ) : Boolean
static

Return current status of the jQuery no Conflict Mode

Returns
Type Description
Boolean
methodpublicjQuery( ) : \ZendX_JQuery_View_Helper_JQuery_Container

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

methodpublicsetView( \Zend_View_Interface $view ) : void

Set view object

Parameters
Name Type Description
$view \Zend_View_Interface
Documentation was generated by DocBlox 0.15.1.