Skip to content
Browse files

Add supports for stream upload

  • Loading branch information...
1 parent 7b69d7f commit 4d047cd750d65bbf871ac6151bf44c06fd32b88f @its-clee its-clee committed Apr 5, 2012
Showing with 935 additions and 438 deletions.
  1. +8 −0 README.markdown
  2. +38 −38 docs/ObjectStorage-Client/ObjectStorage.html
  3. +24 −24 docs/ObjectStorage-Client/ObjectStorage_Abstract.html
  4. +1 −1 docs/ObjectStorage-Client/ObjectStorage_AuthData.html
  5. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Container.html
  6. +20 −20 docs/ObjectStorage-Client/ObjectStorage_Exception.html
  7. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Authentication.html
  8. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Container.html
  9. +3 −3 docs/ObjectStorage-Client/ObjectStorage_Exception_Http.html
  10. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_BadGateway.html
  11. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_BadRequest.html
  12. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Conflict.html
  13. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Forbidden.html
  14. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_InternalServerError.html
  15. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_MethodNotAllowed.html
  16. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotAcceptable.html
  17. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotFound.html
  18. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotImplemented.html
  19. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_ProxyAuthenticationRequired.html
  20. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_RequestTimeout.html
  21. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Unauthorized.html
  22. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_Object.html
  23. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Exception_TokenStore.html
  24. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Http_Abstract.html
  25. +94 −19 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Curl.html
  26. +37 −12 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Interface.html
  27. +62 −13 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Socket.html
  28. +46 −14 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Zend.html
  29. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Http_Client.html
  30. +1 −1 docs/ObjectStorage-Client/ObjectStorage_Http_Request.html
  31. +4 −4 docs/ObjectStorage-Client/ObjectStorage_Http_Response.html
  32. +71 −11 docs/ObjectStorage-Client/ObjectStorage_Object.html
  33. +2 −2 docs/ObjectStorage-Client/ObjectStorage_TokenStore.html
  34. +6 −6 docs/ObjectStorage-Client/ObjectStorage_TokenStore_File.html
  35. +1 −1 docs/ObjectStorage-Client/ObjectStorage_TokenStore_Interface.html
  36. +1 −1 docs/ObjectStorage-Client/ObjectStorage_TokenStore_Memory.html
  37. +3 −3 docs/ObjectStorage-Client/ObjectStorage_Util.html
  38. +49 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Abstract.php.html
  39. +4 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---AuthData.php.html
  40. +1 −4 docs/ObjectStorage-Client/_lib---ObjectStorage---Container.php.html
  41. +1 −4 docs/ObjectStorage-Client/_lib---ObjectStorage---Exception.php.html
  42. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Abstract.php.html
  43. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Adapter---Curl.php.html
  44. +4 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Adapter---Interface.php.html
  45. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Adapter---Socket.php.html
  46. +4 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Adapter---Zend.php.html
  47. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Client.php.html
  48. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Request.php.html
  49. +3 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Http---Response.php.html
  50. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Object.php.html
  51. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---TokenStore---File.php.html
  52. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---TokenStore---Interface.php.html
  53. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---TokenStore---Memory.php.html
  54. +4 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---TokenStore.php.html
  55. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage---Util.php.html
  56. +1 −1 docs/ObjectStorage-Client/_lib---ObjectStorage.php.html
  57. 0 docs/blank.html
  58. +1 −1 docs/classtrees_ObjectStorage-Client.html
  59. +1 −1 docs/classtrees_php-objectstorage.html
  60. +85 −49 docs/elementindex.html
  61. +85 −45 docs/elementindex_ObjectStorage-Client.html
  62. +0 −14 docs/elementindex_php-objectstorage.html
  63. +24 −66 docs/errors.html
  64. +1 −1 docs/index.html
  65. 0 docs/li_ObjectStorage-Client.html
  66. +0 −4 docs/li_php-objectstorage.html
  67. 0 docs/media/images/Class.gif
  68. 0 docs/media/images/Constant.gif
  69. 0 docs/media/images/Constants.gif
  70. 0 docs/media/images/Constructor.gif
  71. 0 docs/media/images/Destructor.gif
  72. 0 docs/media/images/Disk.gif
  73. 0 docs/media/images/FolderClosed.gif
  74. 0 docs/media/images/FolderOpened.gif
  75. 0 docs/media/images/Functions.gif
  76. 0 docs/media/images/GhostClass.gif
  77. 0 docs/media/images/I.png
  78. 0 docs/media/images/L.png
  79. 0 docs/media/images/Lminus.png
  80. 0 docs/media/images/Lplus.png
  81. 0 docs/media/images/PrivateDataMember.gif
  82. 0 docs/media/images/PrivateMethod.gif
  83. 0 docs/media/images/PrivateProperty.gif
  84. 0 docs/media/images/ProtectedDataMember.gif
  85. 0 docs/media/images/ProtectedMethod.gif
  86. 0 docs/media/images/ProtectedProperty.gif
  87. 0 docs/media/images/PublicDataMember.gif
  88. 0 docs/media/images/PublicMethod.gif
  89. 0 docs/media/images/PublicProperty.gif
  90. 0 docs/media/images/T.png
  91. 0 docs/media/images/Tminus.png
  92. 0 docs/media/images/Tplus.png
  93. 0 docs/media/images/Types.gif
  94. 0 docs/media/images/Variable.gif
  95. 0 docs/media/images/Vars.gif
  96. 0 docs/media/images/blank.png
  97. 0 docs/media/images/classFolder.gif
  98. 0 docs/media/images/error.gif
  99. 0 docs/media/images/file.png
  100. 0 docs/media/images/foldericon.png
  101. 0 docs/media/images/minus.gif
  102. 0 docs/media/images/msgError.gif
  103. 0 docs/media/images/msgFatalError.gif
  104. 0 docs/media/images/msgHint.gif
  105. 0 docs/media/images/msgInformation.gif
  106. 0 docs/media/images/msgWarning.gif
  107. 0 docs/media/images/openfoldericon.png
  108. 0 docs/media/images/plus.gif
  109. 0 docs/media/images/spacer.gif
  110. 0 docs/media/lib/classTree.js
  111. 0 docs/media/lib/tab.webfx.css
  112. 0 docs/media/lib/tabpane.js
  113. 0 docs/media/lib/ua.js
  114. 0 docs/media/stylesheet.css
  115. +0 −1 docs/packages.html
  116. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Authentication.php.html
  117. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Container.php.html
  118. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---BadGateway.php.html
  119. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---BadRequest.php.html
  120. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---Conflict.php.html
  121. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---Forbidden.php.html
  122. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---InternalServerError.php.html
  123. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---MethodNotAllowed.php.html
  124. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---NotAcceptable.php.html
  125. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---NotFound.php.html
  126. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---NotImplemented.php.html
  127. +1 −1 .../php-objectstorage/_lib---ObjectStorage---Exception---Http---ProxyAuthenticationRequired.php.html
  128. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---RequestTimeout.php.html
  129. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http---Unauthorized.php.html
  130. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Http.php.html
  131. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---Object.php.html
  132. +1 −1 docs/php-objectstorage/_lib---ObjectStorage---Exception---TokenStore.php.html
  133. 0 docs/php-objectstorage/_lib---example.php.html
  134. +1 −1 docs/ric_COPYING.html
  135. 0 docs/ric_README.html
  136. +27 −4 lib/ObjectStorage.php
  137. +39 −12 lib/ObjectStorage/Http/Adapter/Curl.php
  138. +11 −0 lib/ObjectStorage/Http/Adapter/Interface.php
  139. +38 −4 lib/ObjectStorage/Http/Adapter/Socket.php
  140. +14 −0 lib/ObjectStorage/Http/Adapter/Zend.php
  141. +27 −0 lib/ObjectStorage/Object.php
  142. 0 lib/ObjectStorage/Util.php
  143. 0 tests/BaseTest.php
  144. +32 −1 tests/ObjectTest.php
View
8 README.markdown 100644 → 100755
@@ -56,6 +56,14 @@ $newObject = $objectStorage->with('example_container/object.txt')
->setMeta('description', 'first test file')
->create();
+// You can copy a local file to Object Storage.
+// This will stream local file data to Object Storage. Keep in mind, most PHP configurations will support a file size up to 2 GB.
+$newObject = $objectStorage->with('example_container/large_file.zip')
+ ->setLocalfile('/path/to/local/file')
+ ->setMeta('description', 'large local file upload')
+ ->setHeader('Content-type', 'application/zip')
+ ->create();
+
// If you wanted, you can do this all one line.
// Most functions return itself so you can chain method calls except delete method which returns a boolean value.
$result = $objectStorage->with('example_container')
View
76 docs/ObjectStorage-Client/ObjectStorage.html 100644 → 100755
@@ -155,7 +155,7 @@ <h2 class="tab">Class Variables</h2>
</div>
<hr />
<a name="var$tokenStore" id="var$tokenStore"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">static $tokenStore</strong> (line <span class="linenumber">24</span>)
</h4>
@@ -166,7 +166,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$httpClient" id="var$httpClient"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$httpClient</strong> (line <span class="linenumber">13</span>)
</h4>
@@ -177,7 +177,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$httpClientAdapterIdendifier" id="var$httpClientAdapterIdendifier"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$httpClientAdapterIdendifier</strong> (line <span class="linenumber">15</span>)
</h4>
@@ -188,7 +188,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$httpClientAdapterTimeout" id="var$httpClientAdapterTimeout"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$httpClientAdapterTimeout = 10</strong> (line <span class="linenumber">14</span>)
</h4>
@@ -199,7 +199,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$objectStorageAccountName" id="var$objectStorageAccountName"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$objectStorageAccountName</strong> (line <span class="linenumber">20</span>)
</h4>
@@ -210,7 +210,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$objectStorageAuthData" id="var$objectStorageAuthData"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$objectStorageAuthData</strong> (line <span class="linenumber">22</span>)
</h4>
@@ -221,7 +221,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$objectStorageHost" id="var$objectStorageHost"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$objectStorageHost</strong> (line <span class="linenumber">17</span>)
</h4>
@@ -232,7 +232,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$password" id="var$password"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$password</strong> (line <span class="linenumber">19</span>)
</h4>
@@ -243,7 +243,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$username" id="var$username"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$username</strong> (line <span class="linenumber">18</span>)
</h4>
@@ -271,7 +271,7 @@ <h2 class="tab">Class Constants</h2>
</div>
<hr />
<a name="constMIME_JSON" id="constMIME_JSON"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/Constant.gif" border="0" /> <strong class="property">MIME_JSON = 'JSON'</strong> (line <span class="linenumber">26</span>)
</h4>
@@ -280,7 +280,7 @@ <h2 class="tab">Class Constants</h2>
</ul>
</div>
<a name="constMIME_TEXT" id="constMIME_TEXT"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/Constant.gif" border="0" /> <strong class="property">MIME_TEXT = 'TEXT'</strong> (line <span class="linenumber">28</span>)
</h4>
@@ -289,7 +289,7 @@ <h2 class="tab">Class Constants</h2>
</ul>
</div>
<a name="constMIME_XML" id="constMIME_XML"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/Constant.gif" border="0" /> <strong class="property">MIME_XML = 'XML'</strong> (line <span class="linenumber">27</span>)
</h4>
@@ -405,7 +405,7 @@ <h2 class="tab">Method Detail</h2>
<a name="methodgetTokenStore" id="methodgetTokenStore"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Static Method getTokenStore</strong> (line <span class="linenumber">126</span>)
</h4>
<h4><i>void</i> <strong>getTokenStore(
@@ -419,7 +419,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodsetTokenStore" id="methodsetTokenStore"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Static Method setTokenStore</strong> (line <span class="linenumber">121</span>)
</h4>
<h4><i>void</i> <strong>setTokenStore(
@@ -446,7 +446,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="method__construct" id="method__construct"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">53</span>)
</h4>
<h4><i>ObjectStorage</i> <strong>__construct(
@@ -479,7 +479,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodauthenticate" id="methodauthenticate"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method authenticate</strong> (line <span class="linenumber">140</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Http_Response.html">ObjectStorage_Http_Response</a></i> <strong>authenticate(
@@ -494,8 +494,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodcreate" id="methodcreate"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method create</strong> (line <span class="linenumber">390</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method create</strong> (line <span class="linenumber">391</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a></i> <strong>create(
<a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a>
@@ -514,8 +514,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methoddelete" id="methoddelete"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method delete</strong> (line <span class="linenumber">472</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method delete</strong> (line <span class="linenumber">496</span>)
</h4>
<h4><i>bool</i> <strong>delete(
<a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a>
@@ -534,7 +534,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodget" id="methodget"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method get</strong> (line <span class="linenumber">246</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a></i> <strong>get(
@@ -557,7 +557,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetAuthenticationCacheKey" id="methodgetAuthenticationCacheKey"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getAuthenticationCacheKey</strong> (line <span class="linenumber">102</span>)
</h4>
<h4><i>void</i> <strong>getAuthenticationCacheKey(
@@ -571,7 +571,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetAuthenticationData" id="methodgetAuthenticationData"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getAuthenticationData</strong> (line <span class="linenumber">76</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_AuthData.html">ObjectStorage_AuthData</a></i> <strong>getAuthenticationData(
@@ -586,8 +586,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetCdnUrls" id="methodgetCdnUrls"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getCdnUrls</strong> (line <span class="linenumber">346</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getCdnUrls</strong> (line <span class="linenumber">347</span>)
</h4>
<h4><i>void</i> <strong>getCdnUrls(
<a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a>
@@ -607,7 +607,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetClusterInfo" id="methodgetClusterInfo"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getClusterInfo</strong> (line <span class="linenumber">304</span>)
</h4>
<h4><i>string</i> <strong>getClusterInfo(
@@ -624,7 +624,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetHttpClient" id="methodgetHttpClient"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getHttpClient</strong> (line <span class="linenumber">185</span>)
</h4>
<h4><i>void</i> <strong>getHttpClient(
@@ -638,7 +638,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetResponseWrapper" id="methodgetResponseWrapper"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getResponseWrapper</strong> (line <span class="linenumber">210</span>)
</h4>
<h4><i>void</i> <strong>getResponseWrapper(
@@ -657,8 +657,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetUrl" id="methodgetUrl"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getUrl</strong> (line <span class="linenumber">333</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getUrl</strong> (line <span class="linenumber">334</span>)
</h4>
<h4><i>void</i> <strong>getUrl(
<a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a>
@@ -678,8 +678,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodisAcceptableResponse" id="methodisAcceptableResponse"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method isAcceptableResponse</strong> (line <span class="linenumber">491</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method isAcceptableResponse</strong> (line <span class="linenumber">515</span>)
</h4>
<h4><i>void</i> <strong>isAcceptableResponse(
[
@@ -697,7 +697,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodparseUri" id="methodparseUri"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method parseUri</strong> (line <span class="linenumber">222</span>)
</h4>
<h4><i>void</i> <strong>parseUri(
@@ -716,7 +716,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodreloadAuthenticationData" id="methodreloadAuthenticationData"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method reloadAuthenticationData</strong> (line <span class="linenumber">168</span>)
</h4>
<h4><i>boolean</i> <strong>reloadAuthenticationData(
@@ -732,8 +732,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodupdate" id="methodupdate"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method update</strong> (line <span class="linenumber">433</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method update</strong> (line <span class="linenumber">457</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a></i> <strong>update(
<a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a>
@@ -752,7 +752,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodwith" id="methodwith"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method with</strong> (line <span class="linenumber">205</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html">ObjectStorage_Abstract</a></i> <strong>with(
@@ -800,7 +800,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:54 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:16 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
48 docs/ObjectStorage-Client/ObjectStorage_Abstract.html 100644 → 100755
@@ -107,38 +107,38 @@ <h2 class="tab">Description</h2>
<h5>Abstract class for ObjectStorage_Container and ObjectStorage_Object.</h5>
<div class="desc"><p>ObjectStorage_Abstract class represents a ObjectStorage container or an object. With this class, you can easily create/retrieve/update/delete ObjectStorage containers and objects.</p><p>ObjectStorage_Abstract has many properties but these three are the major componets</p><p>* $objectStorage: holds reference to a ObjectStorage object (optional) * $request: HTTP request object is consisted of headers and body * $response: HTTP response object is consisted of headers and body</p><p>CRUD operation of a container <div class="src-code"><ol><li><div class="src-line">&nbsp;<strong>$objectStorageDallas&nbsp;</strong>=&nbsp;new&nbsp;<a href="../ObjectStorage-Client/ObjectStorage.html">ObjectStorage</a><strong>(</strong><strong>$objectStorageHost</strong><strong>,&nbsp;</strong><strong>$username</strong><strong>,&nbsp;</strong><strong>$password</strong><strong>,&nbsp;</strong><strong>$options</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;<strong>$newContainer&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodcreate">create</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$newContainer&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong>create<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;<strong>$updatedContainer&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodsetMeta">setMeta</a><strong>(</strong><font color="#66cccc">'Description'</font><strong>,&nbsp;</strong><font color="#66cccc">'Adding&nbsp;a&nbsp;meta&nbsp;data'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodupdate">update</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$updatedContainer&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong>setMeta<strong>(</strong><font color="#66cccc">'Description'</font><strong>,&nbsp;</strong><font color="#66cccc">'Adding&nbsp;a&nbsp;meta&nbsp;data'</font><strong>)</strong><strong>-&gt;</strong>update<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;<strong>$reloadedContainer&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodget">get</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$reloadedContainer&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong>get<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;<strong>$result&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methoddelete">delete</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$result&nbsp;</strong>=&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong>delete<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;If&nbsp;you&nbsp;wanted,&nbsp;you&nbsp;can&nbsp;do&nbsp;this&nbsp;all&nbsp;one&nbsp;line.</font></div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;Most&nbsp;functions&nbsp;return&nbsp;itself&nbsp;so&nbsp;you&nbsp;can&nbsp;chain&nbsp;method&nbsp;calls&nbsp;except&nbsp;detele&nbsp;method&nbsp;which&nbsp;returns&nbsp;a&nbsp;boolean&nbsp;value.</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$result&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas05</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodcreate">create</a><strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodsetMeta">setMeta</a><strong>(</strong><font color="#66cccc">'Description'</font><strong>,&nbsp;</strong><font color="#66cccc">'Adding&nbsp;a&nbsp;meta&nbsp;data'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodupdate">update</a><strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodget">get</a><strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methoddelete">delete</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$result&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas05</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong>create<strong>(</strong><strong>)</strong><strong>-&gt;</strong>setMeta<strong>(</strong><font color="#66cccc">'Description'</font><strong>,&nbsp;</strong><font color="#66cccc">'Adding&nbsp;a&nbsp;meta&nbsp;data'</font><strong>)</strong><strong>-&gt;</strong>update<strong>(</strong><strong>)</strong><strong>-&gt;</strong>get<strong>(</strong><strong>)</strong><strong>-&gt;</strong>delete<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;When&nbsp;you&nbsp;create&nbsp;a&nbsp;new&nbsp;container&nbsp;or&nbsp;an&nbsp;object,&nbsp;ObjectStorage_Abstract&nbsp;will&nbsp;return&nbsp;itself,&nbsp;not&nbsp;the&nbsp;newly&nbsp;created&nbsp;conainer&nbsp;or&nbsp;object.</font></div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;If&nbsp;you&nbsp;wish&nbsp;to&nbsp;reload&nbsp;the&nbsp;the&nbsp;data&nbsp;from&nbsp;ObjectStorage&nbsp;cluster,&nbsp;use&nbsp;ObjectStorage_Abstract::get&nbsp;or&nbsp;ObjectStorage_Abstract::reload&nbsp;methods.</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$newContainer&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodcreate">create</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$newContainer&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'example_container'</font><strong>)</strong><strong>-&gt;</strong>create<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;It&nbsp;will&nbsp;fetch&nbsp;the&nbsp;container&nbsp;info&nbsp;from&nbsp;ObjectStorage&nbsp;and&nbsp;reload&nbsp;$newContainer&nbsp;object&nbsp;with&nbsp;it.</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodreload">reload</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$newContainer</strong><strong>-&gt;</strong>reload<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
</ol></div></p><p>ObjectStorage_Abstract tries to postpone the actual interaction with ObjectStorage as late as it can. Authentication to ObjectStorage or any CRUD operation happens when you invoke these method: * create * get * getInfo (Equivalent to HEAD request) * update * delete * getCdnUrls * purgeCache (only applicable to a ObjectStorage_Object in a public container) * loadCache (only applicable to a ObjectStorage_Object in a public container)</p><p>In order to make objects available via CDN, you will need to make a container public. See the example below: <div class="src-code"><ol><li><div class="src-line">&nbsp;<font color="green">//&nbsp;To&nbsp;create&nbsp;a&nbsp;CDN&nbsp;enabled&nbsp;container</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'cdn_container'</font><strong>)</strong><strong>-&gt;</strong>enableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodcreate">create</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'cdn_container'</font><strong>)</strong><strong>-&gt;</strong>enableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong>create<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;To&nbsp;update&nbsp;an&nbsp;existing&nbsp;container&nbsp;to&nbsp;a&nbsp;CDN&nbsp;enabled&nbsp;container</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'another_container'</font><strong>)</strong><strong>-&gt;</strong>enableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodupdate">update</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'another_container'</font><strong>)</strong><strong>-&gt;</strong>enableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong>update<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<font color="green">//&nbsp;Likewise,&nbsp;you&nbsp;can&nbsp;change&nbsp;a&nbsp;container&nbsp;private&nbsp;this&nbsp;way.</font></div></li>
-<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'another_container'</font><strong>)</strong><strong>-&gt;</strong>disableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodupdate">update</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
-</ol></div></p><p>You can iterate through container or object using $containers or $objects property <div class="src-code"><ol><li><div class="src-line">&nbsp;<font color="blue">if&nbsp;</font><strong>(</strong><a href="http://www.php.net/count">count</a><strong>(</strong><strong>$container</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#var$objects">objects</a><strong>)&nbsp;</strong>&gt;&nbsp;0<strong>)&nbsp;</strong><strong>{</strong></div></li>
-<li><div class="src-line">&nbsp;&nbsp;&nbsp;<font color="blue">foreach&nbsp;</font><strong>(</strong><strong>$results</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#var$objects">objects</a>&nbsp;as&nbsp;<strong>$shallowObject</strong><strong>)&nbsp;</strong><strong>{</strong></div></li>
-<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>$object&nbsp;</strong>=&nbsp;<strong>$shallowObject</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodget">get</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'another_container'</font><strong>)</strong><strong>-&gt;</strong>disableCdn<strong>(</strong><strong>)</strong><strong>-&gt;</strong>update<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+</ol></div></p><p>You can iterate through container or object using $containers or $objects property <div class="src-code"><ol><li><div class="src-line">&nbsp;<font color="blue">if&nbsp;</font><strong>(</strong><a href="http://www.php.net/count">count</a><strong>(</strong><strong>$container</strong><strong>-&gt;</strong>objects<strong>)&nbsp;</strong>&gt;&nbsp;0<strong>)&nbsp;</strong><strong>{</strong></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;<font color="blue">foreach&nbsp;</font><strong>(</strong><strong>$results</strong><strong>-&gt;</strong>objects&nbsp;as&nbsp;<strong>$shallowObject</strong><strong>)&nbsp;</strong><strong>{</strong></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>$object&nbsp;</strong>=&nbsp;<strong>$shallowObject</strong><strong>-&gt;</strong>get<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<strong>$object</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodgetUrl">getUrl</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
-<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<strong>$object</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodgetResponse">getResponse</a><strong>(</strong><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodgetBody">getBody</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<strong>$object</strong><strong>-&gt;</strong>getUrl<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<strong>$object</strong><strong>-&gt;</strong>getResponse<strong>(</strong><strong>)</strong><strong>-&gt;</strong>getBody<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;<strong>}</strong></div></li>
<li><div class="src-line">&nbsp;<strong>}</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
@@ -147,8 +147,8 @@ <h2 class="tab">Description</h2>
<li><div class="src-line">&nbsp;<strong>$objectStorageDallas&nbsp;</strong>=&nbsp;new&nbsp;<a href="../ObjectStorage-Client/ObjectStorage.html">ObjectStorage</a><strong>(</strong><strong>$objectStorageHost01</strong><strong>,&nbsp;</strong><strong>$username01</strong><strong>,&nbsp;</strong><strong>$password01</strong><strong>,&nbsp;</strong><strong>$options</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;<strong>$objectStorageSeattle&nbsp;</strong>=&nbsp;new&nbsp;<a href="../ObjectStorage-Client/ObjectStorage.html">ObjectStorage</a><strong>(</strong><strong>$objectStorageHost02</strong><strong>,&nbsp;</strong><strong>$username02</strong><strong>,&nbsp;</strong><strong>$password02</strong><strong>,&nbsp;</strong><strong>$options</strong><strong>)</strong><strong>;</strong></div></li>
<li><div class="src-line">&nbsp;</div></li>
-<li><div class="src-line">&nbsp;<strong>$object&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'path/object'</font><strong>)</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodget">get</a><strong>(</strong><strong>)</strong><strong>;</strong></div></li>
-<li><div class="src-line">&nbsp;<strong>$objectStorageSeattle</strong><strong>-&gt;</strong><a href="../ObjectStorage-Client/ObjectStorage_Abstract.html#methodcreate">create</a><strong>(</strong><strong>$object</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$object&nbsp;</strong>=&nbsp;<strong>$objectStorageDallas</strong><strong>-&gt;</strong>with<strong>(</strong><font color="#66cccc">'path/object'</font><strong>)</strong><strong>-&gt;</strong>get<strong>(</strong><strong>)</strong><strong>;</strong></div></li>
+<li><div class="src-line">&nbsp;<strong>$objectStorageSeattle</strong><strong>-&gt;</strong>create<strong>(</strong><strong>$object</strong><strong>)</strong><strong>;</strong></div></li>
</ol></div></p></div>
<ul>
<li><strong>copyright:</strong> - Copyright (c) 2012 SoftLayer Technologies Inc. (http://www.softlayer.com)</li>
@@ -157,13 +157,13 @@ <h2 class="tab">Description</h2>
<br /><hr />
<span class="type">Classes extended from ObjectStorage_Abstract:</span>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Object.html">ObjectStorage_Object</a></dt>
- <dd>This class represents a ObjectStorage object.</dd>
- </dl>
- <dl>
<dt><a href="../ObjectStorage-Client/ObjectStorage_Container.html">ObjectStorage_Container</a></dt>
<dd>This class represents a ObjectStorage container.</dd>
</dl>
+ <dl>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Object.html">ObjectStorage_Object</a></dt>
+ <dd>This class represents a ObjectStorage object.</dd>
+ </dl>
</p>
</div>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script>
@@ -1181,11 +1181,11 @@ <h2 class="tab">Method Detail</h2>
)</strong></h4>
<p>Overridden in child classes as:<br />
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Object.html#methodupdate">ObjectStorage_Object::update()</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Container.html#methodupdate">ObjectStorage_Container::update()</a></dt>
<dd>(non-PHPdoc)</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Container.html#methodupdate">ObjectStorage_Container::update()</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Object.html#methodupdate">ObjectStorage_Object::update()</a></dt>
<dd>(non-PHPdoc)</dd>
</dl>
</p>
@@ -1225,7 +1225,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:39 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:01 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_AuthData.html 100644 → 100755
@@ -197,7 +197,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:42 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:03 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Container.html 100644 → 100755
@@ -516,7 +516,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:45 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:07 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
40 docs/ObjectStorage-Client/ObjectStorage_Exception.html 100644 → 100755
@@ -114,71 +114,71 @@ <h2 class="tab">Description</h2>
<br /><hr />
<span class="type">Classes extended from ObjectStorage_Exception:</span>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_TokenStore.html">ObjectStorage_Exception_TokenStore</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Container.html">ObjectStorage_Exception_Container</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotAcceptable.html">ObjectStorage_Exception_Http_NotAcceptable</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http.html">ObjectStorage_Exception_Http</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_InternalServerError.html">ObjectStorage_Exception_Http_InternalServerError</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Object.html">ObjectStorage_Exception_Object</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotFound.html">ObjectStorage_Exception_Http_NotFound</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Authentication.html">ObjectStorage_Exception_Authentication</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_MethodNotAllowed.html">ObjectStorage_Exception_Http_MethodNotAllowed</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_TokenStore.html">ObjectStorage_Exception_TokenStore</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_ProxyAuthenticationRequired.html">ObjectStorage_Exception_Http_ProxyAuthenticationRequired</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotAcceptable.html">ObjectStorage_Exception_Http_NotAcceptable</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_RequestTimeout.html">ObjectStorage_Exception_Http_RequestTimeout</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Conflict.html">ObjectStorage_Exception_Http_Conflict</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_BadRequest.html">ObjectStorage_Exception_Http_BadRequest</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_ProxyAuthenticationRequired.html">ObjectStorage_Exception_Http_ProxyAuthenticationRequired</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotImplemented.html">ObjectStorage_Exception_Http_NotImplemented</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_BadGateway.html">ObjectStorage_Exception_Http_BadGateway</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Conflict.html">ObjectStorage_Exception_Http_Conflict</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotFound.html">ObjectStorage_Exception_Http_NotFound</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Unauthorized.html">ObjectStorage_Exception_Http_Unauthorized</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_RequestTimeout.html">ObjectStorage_Exception_Http_RequestTimeout</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_BadGateway.html">ObjectStorage_Exception_Http_BadGateway</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_BadRequest.html">ObjectStorage_Exception_Http_BadRequest</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Forbidden.html">ObjectStorage_Exception_Http_Forbidden</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_MethodNotAllowed.html">ObjectStorage_Exception_Http_MethodNotAllowed</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Object.html">ObjectStorage_Exception_Object</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_NotImplemented.html">ObjectStorage_Exception_Http_NotImplemented</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Container.html">ObjectStorage_Exception_Container</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_InternalServerError.html">ObjectStorage_Exception_Http_InternalServerError</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Authentication.html">ObjectStorage_Exception_Authentication</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Forbidden.html">ObjectStorage_Exception_Http_Forbidden</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
<dl>
- <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http.html">ObjectStorage_Exception_Http</a></dt>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Exception_Http_Unauthorized.html">ObjectStorage_Exception_Http_Unauthorized</a></dt>
<dd>ObjectStorage base exception</dd>
</dl>
</p>
@@ -221,7 +221,7 @@ <h2 class="tab">Method Detail</h2>
<a name="methodsetFile" id="methodsetFile"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setFile</strong> (line <span class="linenumber">17</span>)
</h4>
<h4><i>void</i> <strong>setFile(
@@ -241,7 +241,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodsetLine" id="methodsetLine"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setLine</strong> (line <span class="linenumber">27</span>)
</h4>
<h4><i>void</i> <strong>setLine(
@@ -353,7 +353,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:47 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:09 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Authentication.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:42 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:04 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Container.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:46 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:08 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
6 docs/ObjectStorage-Client/ObjectStorage_Exception_Http.html 100644 → 100755
@@ -152,7 +152,7 @@ <h2 class="tab">Method Detail</h2>
<a name="method__construct" id="method__construct"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
+<div style="background='#ffffff'"><h4>
<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">5</span>)
</h4>
<h4><i>ObjectStorage_Exception_Http</i> <strong>__construct(
@@ -173,7 +173,7 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodthrowException" id="methodthrowException"><!-- --></a>
-<div style="background='#ffffff'"><h4>
+<div style="background='#eeeeee'"><h4>
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method throwException</strong> (line <span class="linenumber">16</span>)
</h4>
<h4><i>void</i> <strong>throwException(
@@ -235,7 +235,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:48 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:10 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_BadGateway.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:42 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:04 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_BadRequest.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:44 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:05 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Conflict.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:45 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:06 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Forbidden.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:48 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:10 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_InternalServerError.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:50 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:12 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_MethodNotAllowed.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:51 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:13 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotAcceptable.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:51 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:13 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotFound.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:52 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:14 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_NotImplemented.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:52 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:14 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_ProxyAuthenticationRequired.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:55 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:17 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_RequestTimeout.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:55 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:18 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Http_Unauthorized.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:58 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:21 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_Object.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:52 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:15 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Exception_TokenStore.html 100644 → 100755
@@ -179,7 +179,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:58 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:20 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
2 docs/ObjectStorage-Client/ObjectStorage_Http_Abstract.html 100644 → 100755
@@ -397,7 +397,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:38 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:00 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
113 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Curl.html 100644 → 100755
@@ -122,6 +122,10 @@ <h2 class="tab">Class Variables</h2>
</div>
<div class="var-title">
<span class="var-type">mixed</span>
+ <a href="#var$fileHander" title="details" class="property"><strong>$fileHander</strong></a>
+</div>
+<div class="var-title">
+ <span class="var-type">mixed</span>
<a href="#var$headers" title="details" class="property"><strong>$headers</strong></a>
</div>
<div class="var-title">
@@ -152,9 +156,20 @@ <h2 class="tab">Class Variables</h2>
<li><strong>access:</strong> - protected</li>
</ul>
</div>
-<a name="var$headers" id="var$headers"><!-- --></A>
+<a name="var$fileHander" id="var$fileHander"><!-- --></A>
<div style="background='#eeeeee'">
<h4>
+<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$fileHander = null</strong> (line <span class="linenumber">16</span>)
+ </h4>
+<h4>Data type : mixed</h4>
+<!-- ========== Info from phpDoc block ========= -->
+<ul>
+ <li><strong>access:</strong> - protected</li>
+ </ul>
+</div>
+<a name="var$headers" id="var$headers"><!-- --></A>
+<div style="background='#ffffff'">
+<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$headers</strong> (line <span class="linenumber">11</span>)
</h4>
<h4>Data type : mixed</h4>
@@ -164,7 +179,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$method" id="var$method"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$method</strong> (line <span class="linenumber">13</span>)
</h4>
@@ -175,7 +190,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$requestHeaders" id="var$requestHeaders"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$requestHeaders = array()</strong> (line <span class="linenumber">15</span>)
</h4>
@@ -186,7 +201,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$timeout" id="var$timeout"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$timeout = 30</strong> (line <span class="linenumber">14</span>)
</h4>
@@ -197,7 +212,7 @@ <h2 class="tab">Class Variables</h2>
</ul>
</div>
<a name="var$uri" id="var$uri"><!-- --></A>
-<div style="background='#eeeeee'">
+<div style="background='#ffffff'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$uri</strong> (line <span class="linenumber">10</span>)
</h4>
@@ -234,6 +249,11 @@ <h2 class="tab">Method Detail</h2>
</div>
<div class="method-definition">
<span class="method-result">void</span>
+ <a href="#methodreadFileCallback" title="details" class="method-name">readFileCallback</a>
+ (<span class="var-type"></span>&nbsp;<span class="var-name">$curl</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$fileHandler</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$length</span> = <span class="var-default">1000</span>])
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
<a href="#methodrequest" title="details" class="method-name">request</a>
()
</div>
@@ -249,6 +269,11 @@ <h2 class="tab">Method Detail</h2>
</div>
<div class="method-definition">
<span class="method-result">void</span>
+ <a href="#methodsetFileHandler" title="details" class="method-name">setFileHandler</a>
+ (<span class="var-type"></span>&nbsp;<span class="var-name">$handler</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
<a href="#methodsetHeaders" title="details" class="method-name">setHeaders</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
</div>
@@ -268,8 +293,8 @@ <h2 class="tab">Method Detail</h2>
<a name="method__construct" id="method__construct"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">17</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">18</span>)
</h4>
<h4><i>ObjectStorage_Http_Adapter_Curl</i> <strong>__construct(
[
@@ -287,8 +312,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodgetLastRequestHeaders" id="methodgetLastRequestHeaders"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getLastRequestHeaders</strong> (line <span class="linenumber">176</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getLastRequestHeaders</strong> (line <span class="linenumber">195</span>)
</h4>
<h4><i>void</i> <strong>getLastRequestHeaders(
)</strong></h4>
@@ -308,9 +333,32 @@ <h2 class="tab">Method Detail</h2>
<li><strong>access</strong> - public</li>
</ul>
</div>
+<a name="methodreadFileCallback" id="methodreadFileCallback"><!-- --></a>
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method readFileCallback</strong> (line <span class="linenumber">200</span>)
+ </h4>
+<h4><i>void</i> <strong>readFileCallback(
+
+$curl,
+$fileHandler, [
+$length = 1000])</strong></h4>
+
+ <!-- ========== Info from phpDoc block ========= -->
+ <h4>Parameters</h4>
+ <ul>
+ <li><strong> $curl</strong>: </li>
+ <li><strong> $fileHandler</strong>: </li>
+ <li><strong> $length</strong>: </li>
+ </ul>
+
+ <h4>Info</h4>
+ <ul>
+ <li><strong>access</strong> - protected</li>
+ </ul>
+</div>
<a name="methodrequest" id="methodrequest"><!-- --></a>
<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method request</strong> (line <span class="linenumber">87</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method request</strong> (line <span class="linenumber">97</span>)
</h4>
<h4><i>void</i> <strong>request(
)</strong></h4>
@@ -332,7 +380,7 @@ <h2 class="tab">Method Detail</h2>
</div>
<a name="methodreset" id="methodreset"><!-- --></a>
<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method reset</strong> (line <span class="linenumber">74</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method reset</strong> (line <span class="linenumber">84</span>)
</h4>
<h4><i>void</i> <strong>reset(
)</strong></h4>
@@ -354,7 +402,7 @@ <h2 class="tab">Method Detail</h2>
</div>
<a name="methodsetBody" id="methodsetBody"><!-- --></a>
<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setBody</strong> (line <span class="linenumber">56</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setBody</strong> (line <span class="linenumber">57</span>)
</h4>
<h4><i>void</i> <strong>setBody(
@@ -379,9 +427,36 @@ <h2 class="tab">Method Detail</h2>
<li><strong>access</strong> - public</li>
</ul>
</div>
-<a name="methodsetHeaders" id="methodsetHeaders"><!-- --></a>
+<a name="methodsetFileHandler" id="methodsetFileHandler"><!-- --></a>
<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setHeaders</strong> (line <span class="linenumber">47</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setFileHandler</strong> (line <span class="linenumber">66</span>)
+ </h4>
+<h4><i>void</i> <strong>setFileHandler(
+
+$handler)</strong></h4>
+
+ <hr class="separator" />
+ <div class="notes">Implementation of:</div>
+ <dl>
+ <dt><a href="../ObjectStorage-Client/ObjectStorage_Http_Adapter_Interface.html#methodsetFileHandler">ObjectStorage_Http_Adapter_Interface::setFileHandler()</a></dt>
+ <dd>Returns the last request headers</dd>
+ </dl>
+ <!-- ========== Info from phpDoc block ========= -->
+<h5>(non-PHPdoc)</h5>
+ <h4>Parameters</h4>
+ <ul>
+ <li><strong> $handler</strong>: </li>
+ </ul>
+
+ <h4>Info</h4>
+ <ul>
+ <li><strong>see</strong> - <a href="../ObjectStorage-Client/ObjectStorage_Http_Adapter_Interface.html#methodsetFileHandler">ObjectStorage_Http_Adapter_Interface::setFileHandler()</a></li>
+ <li><strong>access</strong> - public</li>
+ </ul>
+</div>
+<a name="methodsetHeaders" id="methodsetHeaders"><!-- --></a>
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setHeaders</strong> (line <span class="linenumber">48</span>)
</h4>
<h4><i>void</i> <strong>setHeaders(
@@ -409,8 +484,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodsetMethod" id="methodsetMethod"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setMethod</strong> (line <span class="linenumber">65</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setMethod</strong> (line <span class="linenumber">75</span>)
</h4>
<h4><i>void</i> <strong>setMethod(
@@ -436,8 +511,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodsetUri" id="methodsetUri"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setUri</strong> (line <span class="linenumber">38</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setUri</strong> (line <span class="linenumber">39</span>)
</h4>
<h4><i>void</i> <strong>setUri(
@@ -488,7 +563,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:46 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:08 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
49 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Interface.html 100644 → 100755
@@ -155,6 +155,11 @@ <h2 class="tab">Method Detail</h2>
</div>
<div class="method-definition">
<span class="method-result">void</span>
+ <a href="#methodsetFileHandler" title="details" class="method-name">setFileHandler</a>
+ (<span class="var-type">resource</span>&nbsp;<span class="var-name">$handler</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
<a href="#methodsetHeaders" title="details" class="method-name">setHeaders</a>
(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
</div>
@@ -174,8 +179,8 @@ <h2 class="tab">Method Detail</h2>
<a name="methodgetLastRequestHeaders" id="methodgetLastRequestHeaders"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getLastRequestHeaders</strong> (line <span class="linenumber">66</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getLastRequestHeaders</strong> (line <span class="linenumber">68</span>)
</h4>
<h4><i>array</i> <strong>getLastRequestHeaders(
)</strong></h4>
@@ -189,8 +194,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodrequest" id="methodrequest"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method request</strong> (line <span class="linenumber">59</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method request</strong> (line <span class="linenumber">61</span>)
</h4>
<h4><i><a href="../ObjectStorage-Client/ObjectStorage_Http_Response.html">ObjectStorage_Http_Response</a></i> <strong>request(
)</strong></h4>
@@ -204,8 +209,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodreset" id="methodreset"><!-- --></a>
-<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method reset</strong> (line <span class="linenumber">52</span>)
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method reset</strong> (line <span class="linenumber">54</span>)
</h4>
<h4><i>bool</i> <strong>reset(
)</strong></h4>
@@ -219,8 +224,8 @@ <h2 class="tab">Method Detail</h2>
</ul>
</div>
<a name="methodsetBody" id="methodsetBody"><!-- --></a>
-<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setBody</strong> (line <span class="linenumber">36</span>)
+<div style="background='#eeeeee'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setBody</strong> (line <span class="linenumber">38</span>)
</h4>
<h4><i>void</i> <strong>setBody(
mixed
@@ -238,9 +243,29 @@ <h2 class="tab">Method Detail</h2>
<li><strong>access</strong> - public</li>
</ul>
</div>
+<a name="methodsetFileHandler" id="methodsetFileHandler"><!-- --></a>
+<div style="background='#ffffff'"><h4>
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setFileHandler</strong> (line <span class="linenumber">77</span>)
+ </h4>
+<h4><i>void</i> <strong>setFileHandler(
+resource
+$handler)</strong></h4>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<h5>Returns the last request headers</h5>
+ <h4>Parameters</h4>
+ <ul>
+ <li><strong>resource $handler</strong>: </li>
+ </ul>
+
+ <h4>Info</h4>
+ <ul>
+ <li><strong>access</strong> - public</li>
+ </ul>
+</div>
<a name="methodsetHeaders" id="methodsetHeaders"><!-- --></a>
<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setHeaders</strong> (line <span class="linenumber">27</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setHeaders</strong> (line <span class="linenumber">29</span>)
</h4>
<h4><i>void</i> <strong>setHeaders(
string
@@ -262,7 +287,7 @@ <h2 class="tab">Method Detail</h2>
</div>
<a name="methodsetMethod" id="methodsetMethod"><!-- --></a>
<div style="background='#ffffff'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setMethod</strong> (line <span class="linenumber">45</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setMethod</strong> (line <span class="linenumber">47</span>)
</h4>
<h4><i>void</i> <strong>setMethod(
string
@@ -282,7 +307,7 @@ <h2 class="tab">Method Detail</h2>
</div>
<a name="methodsetUri" id="methodsetUri"><!-- --></a>
<div style="background='#eeeeee'"><h4>
-<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setUri</strong> (line <span class="linenumber">17</span>)
+<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setUri</strong> (line <span class="linenumber">19</span>)
</h4>
<h4><i>void</i> <strong>setUri(
@@ -326,7 +351,7 @@ <h2 class="tab">Inherited Methods</h2>
</script>
<div id="credit">
<hr />
- Documentation generated on Tue, 14 Feb 2012 15:45:49 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
+ Documentation generated on Thu, 05 Apr 2012 15:50:11 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
</div>
</body>
</html>
View
75 docs/ObjectStorage-Client/ObjectStorage_Http_Adapter_Socket.html 100644 → 100755
@@ -122,6 +122,10 @@ <h2 class="tab">Class Variables</h2>
</div>
<div class="var-title">
<span class="var-type">mixed</span>
+ <a href="#var$fileHander" title="details" class="property"><strong>$fileHander</strong></a>
+</div>
+<div class="var-title">
+ <span class="var-type">mixed</span>
<a href="#var$headers" title="details" class="property"><strong>$headers</strong></a>
</div>
<div class="var-title">
@@ -142,7 +146,7 @@ <h2 class="tab">Class Variables</h2>
</div>
<hr />
<a name="var$body" id="var$body"><!-- --></A>
-<div style="background='#ffffff'">
+<div style="background='#eeeeee'">
<h4>
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$body</strong> (line <span class="linenumber">12</span>)
</h4>
@@ -152,6 +156,17 @@ <h2 class="tab">Class Variables</h2>
<li><strong>access:</strong> - protected</li>
</ul>
</div>
+<a name="var$fileHander" id="var$fileHander"><!-- --></A>
+<div style="background='#ffffff'">
+<h4>
+<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$fileHander = null</strong> (line <span class="linenumber">16</span>)
+ </h4>
+<h4>Data type : mixed</h4>
+<!-- ========== Info from phpDoc block ========= -->
+<ul>
+ <li><strong>access:</strong> - protected</li>
+ </ul>
+</div>
<a name="var$headers" id="var$headers"><!-- --></A>
<div style="background='#eeeeee'">
<h4>
@@ -249,6 +264,11 @@ <h2 class="tab">Method Detail</h2>
</div>
<div class="method-definition">
<span class="method-result">void</span>
+ <a href="#methodsetFileHandler" title="details" class="method-name">setFileHandler</a>
+ (<span class="var-type"></span>&nbsp;<span class="var-name">$handler</span>)
+ </div>
+ <div class="method-definition">
+ <span class="method-result">void</span>
<a href="#methodsetHeaders" title="details" class="method-name">setHeaders</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
</div>
@@ -269,7 +289,7 @@ <h2 class="tab">Method Detail</h2>
<a name="method__construct" id="method__construct"><!-- --></a>
<div style="background='#ffffff'"><h4>
-<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">17</span>)
+<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor __construct</strong> (line <span class="linenumber">18</span>)
</h4>
<h4><i>ObjectStorage_Http_Adapter_Socket</i> <strong>__construct(
[
@@ -288,7 +308,7 @@ <h2 class="tab">Method Detail</h2>
</div>
<a name="methodgetLastRequestHeaders" id="methodgetLastRequestHeaders"><!-- --></a>
<div style="background='#eeeeee'"><h4>