class_plupload.Runtime.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html>
  3. <head>
  4. <title>Class: plupload.Runtime</title>
  5. <meta name="generator" content="MoxieDoc" />
  6. <link rel="stylesheet" type="text/css" href="css/reset.css" />
  7. <link rel="stylesheet" type="text/css" href="css/grids.css" />
  8. <link rel="stylesheet" type="text/css" href="css/general.css" />
  9. <script type="text/javascript" src="http://www.google.com/jsapi"></script>
  10. <script type="text/javascript">
  11. google.load("jquery", "1.3");
  12. </script>
  13. <script type="text/javascript" src="js/jquery.treeview.min.js"></script>
  14. <script type="text/javascript" src="js/general.js"></script>
  15. </head>
  16. <body>
  17. <div class="classDetailsContent">
  18. <h1>plupload.Runtime</h1>
  19. <table class="classDetails">
  20. <tr>
  21. <td class="first">Namespace</td>
  22. <td class="last">plupload</td>
  23. </tr>
  24. <tr>
  25. <td class="first">Class</td>
  26. <td class="last">Runtime</td>
  27. </tr>
  28. <tr>
  29. <td class="first">Type</td>
  30. <td class="last">Singleton</td>
  31. </tr>
  32. <tr>
  33. <td class="first">Subclasses</td>
  34. <td class="last subClassList">
  35. <a href="class_plupload.runtimes.BrowserPlus.html">BrowserPlus</a>, <a href="class_plupload.runtimes.Flash.html">Flash</a>, <a href="class_plupload.runtimes.Gears.html">Gears</a>, <a href="class_plupload.runtimes.Html4.html">Html4</a>, <a href="class_plupload.runtimes.Html5.html">Html5</a>, <a href="class_plupload.runtimes.Silverlight.html">Silverlight</a>
  36. </td>
  37. </tr>
  38. </table>
  39. <div class="classDescription">Runtime class gets implemented by each upload runtime.
  40. </div>
  41. <div class="summaryLists">
  42. <h2>Public Methods</h2>
  43. <table class="Methods summary">
  44. <thead>
  45. <tr>
  46. <th>Method</th>
  47. <th>Defined By</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr>
  52. <td class="first">
  53. <div>
  54. <a class="memberName" href="class_plupload.Runtime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
  55. <div class="summary">
  56. <span class="static">[static] </span>Initializes the upload runtime.</div>
  57. </td>
  58. <td class="last">Runtime</td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. </div>
  63. <div class="detailsList">
  64. <div class="details">
  65. <h2>Method details</h2>
  66. <div class="memberDetails last" id="init">
  67. <h3>init<span class="memberType">method</span>
  68. </h3>
  69. <code class="syntax">public static
  70. function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
  71. <div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
  72. </div>
  73. <h4>Parameters</h4>
  74. <table class="params">
  75. <tr>
  76. <td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
  77. </td>
  78. <td class="last">Uploader instance that needs to be initialized.</td>
  79. </tr>
  80. <tr>
  81. <td class="first">callback:function</td>
  82. <td class="last">Callback function to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
  83. </tr>
  84. </table>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </body>
  90. </html>