JQuery/View/Helper/JQuery/Container.php
- 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_Container
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Properties

Boolean $_captureLock = falsefalseDetails- Type
- Boolean

Boolean $_enabled = falsefalseDetails- Type
- Boolean

Array $_javascriptSources = array()array()Details- Type
- Array

Array $_javascriptStatements = array()array()Details- Type
- Array

String $_jqueryLibraryPath = nullnullDetails- Type
- String

boolean $_loadSslCdnPath = falsefalseDetails- Type
- boolean

Integer $_renderMode = \ZendX_JQuery::RENDER_ALL\ZendX_JQuery::RENDER_ALLDetails- Type
- Integer

Array $_stylesheets = array()array()Details- Type
- Array

String $_uiPath = nullnullDetails- Type
- String

String $_uiVersion = \ZendX_JQuery::DEFAULT_UI_VERSION\ZendX_JQuery::DEFAULT_UI_VERSIONDetails- Type
- String

String $_version = \ZendX_JQuery::DEFAULT_JQUERY_VERSION\ZendX_JQuery::DEFAULT_JQUERY_VERSIONDetails- Type
- String
Methods

_getJQueryLibraryPath() : stringInternal function that constructs the include path of the jQuery library.
| Type | Description |
|---|---|
| string |

_getJQueryUiLibraryPath() : stringInternal function that constructs the include path of the jQueryUI library.
| Type | Description |
|---|---|
| string |

_renderExtras() : stringRenders all javascript code related stuff of the jQuery enviroment.
| Type | Description |
|---|---|
| string |

_renderScriptTags() : stringRenders all javascript file related stuff of the jQuery enviroment.
| Type | Description |
|---|---|
| string |

addJavascript(string $js) : \ZendX_JQuery_View_Helper_JQuery_ContainerAdd arbitrary javascript to execute in jQuery JS container
| Name | Type | Description |
|---|---|---|
| $js | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

addJavascriptFile(string $path) : \ZendX_JQuery_View_Helper_JQuery_ContainerAdd a Javascript File to the include stack.
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

addOnLoad(string $callback) : \ZendX_JQuery_View_Helper_JQuery_ContainerAdd a script to execute onLoad
| Name | Type | Description |
|---|---|---|
| $callback | string | Lambda |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

addStylesheet(string $path) : \ZendX_JQuery_View_Helper_JQuery_ContainerAdd a stylesheet
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

clearJavascript() : \ZendX_JQuery_View_Helper_JQuery_ContainerClear arbitrary javascript stack
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

clearJavascriptFiles() : \ZendX_JQuery_View_Helper_JQuery_ContainerClear all currently registered Javascript files.
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

clearOnLoadActions() : \ZendX_JQuery_View_Helper_JQuery_ContainerClear the onLoadActions stack.
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

clearStylesheets() : \ZendX_JQuery_View_Helper_JQuery_ContainerClear all currently registered stylesheets files
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

disable() : \ZendX_JQuery_View_Helper_JQuery_ContainerDisable jQuery
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

enable() : \ZendX_JQuery_View_Helper_JQuery_ContainerEnable jQuery
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

getCdnVersion() : stringGet CDN version
| Type | Description |
|---|---|
| string |
- Deprecated
- As of version 1.8, use {@link getVersion()} instead.

getJavascriptFiles() : arrayReturn all currently registered Javascript files.
| Type | Description |
|---|---|
| array |

getUiCdnVersion() : StringReturn jQuery UI CDN Version
| Type | Description |
|---|---|
| String |
- Deprecated
- As of 1.8 use {@link getUiVersion()}

getUiLocalPath() : stringProxies to getUiPath() for consistency in function naming.
| Type | Description |
|---|---|
| string |

javascriptCaptureEnd() : booleanFinish capturing arbitrary javascript to include in jQuery script
| Type | Description |
|---|---|
| boolean |

javascriptCaptureStart() : booleanCapture arbitrary javascript to include in jQuery script
| Type | Description |
|---|---|
| boolean |
| Exception | Description |
|---|---|
| \Zend_Exception |

onLoadCaptureStart() : booleanStart capturing routines to run onLoad
| Type | Description |
|---|---|
| boolean |
| Exception | Description |
|---|---|
| \Zend_Exception |

setCdnSsl(bool $flag) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet Use SSL on CDN Flag
| Name | Type | Description |
|---|---|---|
| $flag | bool |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setCdnVersion(string $version = null) : \ZendX_JQuery_View_Helper_JQuery_ContainerUse CDN, using version specified. Currently supported by Googles Ajax Library API are: 1.2.3, 1.2.6
| Name | Type | Description |
|---|---|---|
| $version | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |
- Deprecated
- As of version 1.8, use {@link setVersion()} instead.

setLocalPath(string $path) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet path to local jQuery library
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setRenderMode(integer $mask) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet which parts of the jQuery enviroment should be rendered.
| Name | Type | Description |
|---|---|---|
| $mask | integer |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setUiCdnVersion(string $version = '1.5.2') : \ZendX_JQuery_View_Helper_JQuery_ContainerSet jQuery UI CDN Version
| Name | Type | Description |
|---|---|---|
| $version | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |
- Deprecated
- As of 1.8 use {@link setUiVersion()}

setUiLocalPath(String $path) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet local path to jQuery UI library
| Name | Type | Description |
|---|---|---|
| $path | String |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setUiVersion(string $version) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet jQuery UI version used.
| Name | Type | Description |
|---|---|---|
| $version | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

setVersion(string $version) : \ZendX_JQuery_View_Helper_JQuery_ContainerSet the version of the jQuery library used.
| Name | Type | Description |
|---|---|---|
| $version | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

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

uiDisable() : \ZendX_JQuery_View_Helper_JQuery_ContainerDisable jQuery UI Library Rendering
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

uiEnable() : \ZendX_JQuery_View_Helper_JQuery_ContainerEnable jQuery UI Library Rendering
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |

uiIsEnabled() : booleanCheck wheater currently the jQuery UI library is enabled.
| Type | Description |
|---|---|
| boolean |

useUiCdn() : \ZendX_JQuery_View_Helper_JQuery_ContainerIs the jQuery Ui enabled and loaded from CDN?
| Type | Description |
|---|---|
| \ZendX_JQuery_View_Helper_JQuery_Container |