PageRenderTime 59ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/ZendFramework-1.11.12/extras/documentation/api/extras/db_ZendX_Application_Resource_Jquery.html

#
HTML | 302 lines | 284 code | 18 blank | 0 comment | 0 complexity | 6495ffbe256775dfd9e927700342b340 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.0, MIT, ISC
  1. <html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework Extras API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/jquery-ui.css" type="text/css"></link><link rel="stylesheet" href="css/docblox/jquery-ui-1.8.16.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" type="text/css"></link><link rel="stylesheet" href="css/theme.css" type="text/css"></link><script type="text/javascript" src="js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="js/jquery.cookie.js"></script><script type="text/javascript" src="js/jquery.treeview.js"></script><script type="text/javascript">
  2. $(document).ready(function() {
  3. $(".filetree").treeview({
  4. collapsed: true,
  5. persist: "cookie"
  6. });
  7. $("#accordion").accordion({
  8. collapsible: true,
  9. autoHeight: false,
  10. fillSpace: true
  11. });
  12. $(".tabs").tabs();
  13. });
  14. </script></head><body><div xmlns="" class="content">
  15. <div class="sub-page-main-header-api-documentation"><h2>API Documentation</h2></div>
  16. <div class="dotted-line"></div>
  17. </div>
  18. <div xmlns="" id="content">
  19. <script xmlns:dbx="http://docblox-project.org/xsl/functions">
  20. function filterElements()
  21. {
  22. inherited = !$('#show-inherited').hasClass('deselected');
  23. public = !$('#show-public').hasClass('deselected');
  24. protected = !$('#show-protected').hasClass('deselected');
  25. private = !$('#show-private').hasClass('deselected');
  26. $('div.public').each(function(index, val) {
  27. $(val).toggle(public && !($(val).hasClass('inherited_from') && !inherited));
  28. });
  29. $('div.protected').each(function(index, val) {
  30. $(val).toggle(protected && !($(val).hasClass('inherited_from') && !inherited));
  31. });
  32. $('div.private').each(function(index, val) {
  33. $(val).toggle(private && !($(val).hasClass('inherited_from') && !inherited));
  34. });
  35. }
  36. $(document).ready(function() {
  37. $('a.gripper').click(function() {
  38. $(this).nextAll('div.code-tabs').slideToggle();
  39. $(this).children('img').toggle();
  40. return false;
  41. });
  42. $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').css('cursor', 'pointer');
  43. $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').click(function() {
  44. $(this).parent().nextAll('div.code-tabs').slideToggle();
  45. $(this).parent().prevAll('a.gripper').children('img').toggle();
  46. return false;
  47. });
  48. $('div.code-tabs').hide();
  49. $('a.gripper').show();
  50. $('div.code-tabs:empty').prevAll('a.gripper').html('');
  51. $('#show-public, #show-protected, #show-private, #show-inherited')
  52. .css('cursor', 'pointer')
  53. .click(function(){
  54. $(this).toggleClass('deselected');
  55. if ($(this).hasClass('deselected')) {
  56. $(this).fadeTo('fast', '0.4');
  57. } else {
  58. $(this).fadeTo('fast', '1.0');
  59. }
  60. filterElements();
  61. return false;
  62. });
  63. $('#show-protected, #show-private').click();
  64. // add the sliding behaviour to the file navigation and show it
  65. // it is initially hidden for non-JS users.
  66. $("#file-nav-box").show().hover(function() {
  67. $("#file-nav-container").slideDown(400);
  68. }, function() {
  69. $("#file-nav-container").slideUp(400);
  70. });
  71. });
  72. </script><h1 xmlns:dbx="http://docblox-project.org/xsl/functions" class="file">ZendX/Application/Resource/Jquery.php</h1>
  73. <div xmlns:dbx="http://docblox-project.org/xsl/functions" id="file-nav-box">
  74. <div id="file-nav-options">
  75. Show:
  76. <img src="images/icons/visibility_public.png" id="show-public"><img src="images/icons/visibility_protected.png" id="show-protected"><img src="images/icons/visibility_private.png" id="show-private"><span class="attribute" id="show-inherited">inherited</span>
  77. </div>
  78. <div id="file-nav-container">
  79. <ul id="file-nav"><li>
  80. <a href="#classes"><img src="images/icons/class.png" height="14">
  81. Classes
  82. </a><ul><li><a href="#%5CZendX_Application_Resource_Jquery">\ZendX_Application_Resource_Jquery</a></li></ul>
  83. </li></ul>
  84. <div style="clear: left;"></div>
  85. </div>
  86. <div id="file-nav-tab">
  87. Table of Contents
  88. </div>
  89. </div>
  90. <a xmlns:dbx="http://docblox-project.org/xsl/functions" name="top" class="anchor"></a><div id="file-description">
  91. <p xmlns:dbx="http://docblox-project.org/xsl/functions" class="short-description">Zend Framework</p>
  92. <div xmlns:dbx="http://docblox-project.org/xsl/functions" class="long-description"><p>LICENSE</p>
  93. <p>This source file is subject to the new BSD license that is bundled
  94. with this package in the file LICENSE.txt.
  95. It is also available through the world-wide-web at this URL:
  96. http://framework.zend.com/license/new-bsd
  97. If you did not receive a copy of the license and are unable to
  98. obtain it through the world-wide-web, please send an email
  99. to license@zend.com so we can send you a copy immediately.</p>
  100. </div>
  101. </div>
  102. <dl class="file-info">
  103. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Category</dt>
  104. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">ZendX
  105.  
  106. </dd>
  107. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Copyright</dt>
  108. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  109.  
  110. </dd>
  111. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">License</dt>
  112. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">
  113. <a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
  114.  
  115. </dd>
  116. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Package</dt>
  117. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">ZendX_Application
  118.  
  119. </dd>
  120. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Subpackage</dt>
  121. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Resource
  122.  
  123. </dd>
  124. <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Version</dt>
  125. <dd xmlns:dbx="http://docblox-project.org/xsl/functions">$Id: Jquery.php 20240 2010-01-13 04:51:56Z matthew $
  126.  
  127. </dd>
  128. </dl>
  129. <a name="classes" class="anchor"></a><a xmlns:dbx="http://docblox-project.org/xsl/functions" id="\ZendX_Application_Resource_Jquery" class="anchor"></a><h2 xmlns:dbx="http://docblox-project.org/xsl/functions" class="class">\ZendX_Application_Resource_Jquery<div class="to-top"><a href="#top">jump to top</a></div>
  130. </h2>
  131. <div xmlns:dbx="http://docblox-project.org/xsl/functions" class="class">
  132. <small class="package"><b>Package: </b>ZendX\Application\Resource</small><p class="short-description">JQuery application resource</p>
  133. <div class="long-description"><p>Example configuration:</p>
  134. <pre>
  135. resources.Jquery.noconflictmode = false ; default
  136. resources.Jquery.version = 1.7.1 ; <null>
  137. resources.Jquery.localpath = "/foo/bar"
  138. resources.Jquery.enable = true
  139. resources.Jquery.uienable = true;
  140. resources.Jquery.ui_enable = true;
  141. resources.Jquery.uiversion = 0.7.7;
  142. resources.Jquery.ui_version = 0.7.7;
  143. resources.Jquery.uilocalpath = "/bar/foo";
  144. resources.Jquery.ui_localpath = "/bar/foo";
  145. resources.Jquery.cdn_ssl = false
  146. resources.Jquery.render_mode = 255 ; default
  147. resources.Jquery.rendermode = 255 ; default
  148. resources.Jquery.javascriptfile = "/some/file.js"
  149. resources.Jquery.javascriptfiles.0 = "/some/file.js"
  150. resources.Jquery.stylesheet = "/some/file.css"
  151. resources.Jquery.stylesheets.0 = "/some/file.css"
  152. </pre>
  153. <p>Resource for settings JQuery options</p>
  154. </div>
  155. <dl class="class-info">
  156. <dt>Parent(s)</dt>
  157. <dd>\Zend_Application_Resource_ResourceAbstract</dd>
  158. <dt>Category</dt>
  159. <dd>ZendX
  160.  
  161. </dd>
  162. <dt>Copyright</dt>
  163. <dd>Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  164.  
  165. </dd>
  166. <dt>License</dt>
  167. <dd>
  168. <a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
  169.  
  170. </dd>
  171. <dt>Uses</dt>
  172. <dd>\Zend_Application_Resource_ResourceAbstract
  173.  
  174. </dd>
  175. </dl>
  176. <h3>Properties</h3>
  177. <div>
  178. <a id="\ZendX_Application_Resource_Jquery::$_jquery" class="anchor"></a><div class="property protected">
  179. <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\ZendX_JQuery_View_Helper_JQuery_Container
  180.  <span class="highlight">$_jquery</span>= ''
  181. </code><div class="description">
  182. <p class="short-description"></p></div>
  183. <div class="code-tabs">
  184. <div class="long-description">
  185. </div>
  186. <strong>Details</strong><dl class="property-info">
  187. <dt>Type</dt>
  188. <dd><a href="db_ZendX_JQuery_View_Helper_JQuery_Container.html#%5CZendX_JQuery_View_Helper_JQuery_Container">\ZendX_JQuery_View_Helper_JQuery_Container</a></dd>
  189. </dl>
  190. </div>
  191. <div class="clear"></div>
  192. </div>
  193. <a id="\ZendX_Application_Resource_Jquery::$_view" class="anchor"></a><div class="property protected">
  194. <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Zend_View
  195.  <span class="highlight">$_view</span>= ''
  196. </code><div class="description">
  197. <p class="short-description"></p></div>
  198. <div class="code-tabs">
  199. <div class="long-description">
  200. </div>
  201. <strong>Details</strong><dl class="property-info">
  202. <dt>Type</dt>
  203. <dd>\Zend_View</dd>
  204. </dl>
  205. </div>
  206. <div class="clear"></div>
  207. </div>
  208. </div>
  209. <h3>Methods</h3>
  210. <div>
  211. <a id="\ZendX_Application_Resource_Jquery::_parseOptions()" class="anchor"></a><div class="method protected">
  212. <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"><span class="highlight">_parseOptions</span><span class="nb-faded-text">(
  213. array $options
  214. )
  215. </span>
  216. :
  217. void</code><div class="description"><p class="short_description">Parse options to find those pertinent to jquery helper and invoke them</p></div>
  218. <div class="code-tabs">
  219. <div class="long-description">
  220. </div>
  221. <strong>Parameters</strong><table class="argument-info">
  222. <thead><tr>
  223. <th>Name</th>
  224. <th>Type</th>
  225. <th>Description</th>
  226. </tr></thead>
  227. <tr>
  228. <th>$options</th>
  229. <td>array</td>
  230. <td><em></em></td>
  231. </tr>
  232. </table>
  233. </div>
  234. <div class="clear"></div>
  235. </div>
  236. <a id="\ZendX_Application_Resource_Jquery::getJquery()" class="anchor"></a><div class="method public">
  237. <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">getJquery</span><span class="nb-faded-text">(
  238. )
  239. </span>
  240. :
  241. <a href="db_ZendX_JQuery_View_Helper_JQuery_Container.html#%5CZendX_JQuery_View_Helper_JQuery_Container">\ZendX_JQuery_View_Helper_JQuery_Container</a></code><div class="description"><p class="short_description">Retrieve JQuery View Helper</p></div>
  242. <div class="code-tabs">
  243. <div class="long-description">
  244. </div>
  245. <strong>Returns</strong><table class="argument-info">
  246. <thead><tr>
  247. <th>Type</th>
  248. <th>Description</th>
  249. </tr></thead>
  250. <tr>
  251. <td><a href="db_ZendX_JQuery_View_Helper_JQuery_Container.html#%5CZendX_JQuery_View_Helper_JQuery_Container">\ZendX_JQuery_View_Helper_JQuery_Container</a></td>
  252. <td></td>
  253. </tr>
  254. </table>
  255. </div>
  256. <div class="clear"></div>
  257. </div>
  258. <a id="\ZendX_Application_Resource_Jquery::init()" class="anchor"></a><div class="method public">
  259. <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">init</span><span class="nb-faded-text">(
  260. )
  261. </span>
  262. :
  263. <a href="db_ZendX_JQuery_View_Helper_JQuery_Container.html#%5CZendX_JQuery_View_Helper_JQuery_Container">\ZendX_JQuery_View_Helper_JQuery_Container</a></code><div class="description"><p class="short_description">Defined by Zend_Application_Resource_Resource</p></div>
  264. <div class="code-tabs">
  265. <div class="long-description">
  266. </div>
  267. <strong>Returns</strong><table class="argument-info">
  268. <thead><tr>
  269. <th>Type</th>
  270. <th>Description</th>
  271. </tr></thead>
  272. <tr>
  273. <td><a href="db_ZendX_JQuery_View_Helper_JQuery_Container.html#%5CZendX_JQuery_View_Helper_JQuery_Container">\ZendX_JQuery_View_Helper_JQuery_Container</a></td>
  274. <td></td>
  275. </tr>
  276. </table>
  277. </div>
  278. <div class="clear"></div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. <small xmlns="" class="footer">Documentation was generated by <a href="http://docblox-project.org">DocBlox 0.15.1</a>.
  284. </small></body></html>