Auth_OpenID_AX_FetchResponse.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <!-- template designed by Marco Von Ballmoos -->
  6. <title>Docs For Class Auth_OpenID_AX_FetchResponse</title>
  7. <link rel="stylesheet" href="../media/stylesheet.css" />
  8. <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
  9. </head>
  10. <body>
  11. <div class="page-body">
  12. <h2 class="class-name">Class Auth_OpenID_AX_FetchResponse</h2>
  13. <a name="sec-description"></a>
  14. <div class="info-box">
  15. <div class="info-box-title">Description</div>
  16. <div class="nav-bar">
  17. <span class="disabled">Description</span> |
  18. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  19. | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  20. </div>
  21. <div class="info-box-body">
  22. <!-- ========== Info from phpDoc block ========= -->
  23. <p class="short-description">A fetch_response attribute exchange message.</p>
  24. <p class="notes">
  25. Located in <a class="field" href="_Auth---OpenID---AX.php.html">/Auth/OpenID/AX.php</a> (line <span class="field">793</span>)
  26. </p>
  27. <pre><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a>
  28. |
  29. --<a href="../OpenID/Auth_OpenID_AX_Message.html">Auth_OpenID_AX_Message</a>
  30. |
  31. --<a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html">Auth_OpenID_AX_KeyValueMessage</a>
  32. |
  33. --Auth_OpenID_AX_FetchResponse</pre>
  34. </div>
  35. </div>
  36. <a name="sec-var-summary"></a>
  37. <div class="info-box">
  38. <div class="info-box-title">Variable Summary</span></div>
  39. <div class="nav-bar">
  40. <a href="#sec-description">Description</a> |
  41. <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
  42. |
  43. <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  44. </div>
  45. <div class="info-box-body">
  46. <div class="var-summary">
  47. <div class="var-title">
  48. <span class="var-type">mixed</span>
  49. <a href="#$mode" title="details" class="var-name">$mode</a>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <a name="sec-method-summary"></a>
  55. <div class="info-box">
  56. <div class="info-box-title">Method Summary</span></div>
  57. <div class="nav-bar">
  58. <a href="#sec-description">Description</a> |
  59. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  60. |
  61. <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
  62. </div>
  63. <div class="info-box-body">
  64. <div class="method-summary">
  65. <div class="method-definition">
  66. <span class="method-result">Auth_OpenID_AX_FetchResponse</span>
  67. <a href="#Auth_OpenID_AX_FetchResponse" title="details" class="method-name">Auth_OpenID_AX_FetchResponse</a>
  68. ([<span class="var-type"></span>&nbsp;<span class="var-name">$update_url</span> = <span class="var-default">null</span>])
  69. </div>
  70. <div class="method-definition">
  71. <span class="method-result">$response</span>
  72. <a href="#fromSuccessResponse" title="details" class="method-name">fromSuccessResponse</a>
  73. (<span class="var-type">success_response:</span>&nbsp;<span class="var-name">$success_response</span>, [<span class="var-type">signed:</span>&nbsp;<span class="var-name">$signed</span> = <span class="var-default">true</span>])
  74. </div>
  75. <div class="method-definition">
  76. <span class="method-result">$args</span>
  77. <a href="#getExtensionArgs" title="details" class="method-name">getExtensionArgs</a>
  78. ([<span class="var-type"></span>&nbsp;<span class="var-name">$request</span> = <span class="var-default">null</span>])
  79. </div>
  80. <div class="method-definition">
  81. <span class="method-result">$result</span>
  82. <a href="#parseExtensionArgs" title="details" class="method-name">parseExtensionArgs</a>
  83. (<span class="var-type"></span>&nbsp;<span class="var-name">$ax_args</span>)
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <a name="sec-vars"></a>
  89. <div class="info-box">
  90. <div class="info-box-title">Variables</div>
  91. <div class="nav-bar">
  92. <a href="#sec-description">Description</a> |
  93. <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
  94. |
  95. <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  96. </div>
  97. <div class="info-box-body">
  98. <a name="var$mode" id="$mode"><!-- --></A>
  99. <div class="oddrow">
  100. <div class="var-header">
  101. <span class="var-title">
  102. <span class="var-type">mixed</span>
  103. <span class="var-name">$mode</span>
  104. = <span class="var-default"> 'fetch_response'</span> (line <span class="line-number">794</span>)
  105. </span>
  106. </div>
  107. <!-- ========== Info from phpDoc block ========= -->
  108. <hr class="separator" />
  109. <div class="notes">Redefinition of:</div>
  110. <dl>
  111. <dt><a href="../OpenID/Auth_OpenID_AX_Message.html#var$mode">Auth_OpenID_AX_Message::$mode</a></dt>
  112. <dd>mode: The type of this attribute exchange message. This must be overridden in subclasses.</dd>
  113. </dl>
  114. </div>
  115. <h4>Inherited Variables</h4>
  116. <A NAME='inherited_vars'><!-- --></A>
  117. <p>Inherited from <span class="classname"><a href="../OpenID/Auth_OpenID_AX_Message.html">Auth_OpenID_AX_Message</a></span></p>
  118. <blockquote>
  119. <span class="var-title">
  120. <span class="var-name"><a href="../OpenID/Auth_OpenID_AX_Message.html#var$ns_alias">Auth_OpenID_AX_Message::$ns_alias</a></span><br>
  121. </span>
  122. <span class="var-title">
  123. <span class="var-name"><a href="../OpenID/Auth_OpenID_AX_Message.html#var$ns_uri">Auth_OpenID_AX_Message::$ns_uri</a></span><br>
  124. </span>
  125. </blockquote>
  126. </div>
  127. </div>
  128. <a name="sec-methods"></a>
  129. <div class="info-box">
  130. <div class="info-box-title">Methods</div>
  131. <div class="nav-bar">
  132. <a href="#sec-description">Description</a> |
  133. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  134. <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
  135. </div>
  136. <div class="info-box-body">
  137. <A NAME='method_detail'></A>
  138. <a name="methodAuth_OpenID_AX_FetchResponse" id="Auth_OpenID_AX_FetchResponse"><!-- --></a>
  139. <div class="evenrow">
  140. <div class="method-header">
  141. <span class="method-title">Constructor Auth_OpenID_AX_FetchResponse</span> (line <span class="line-number">796</span>)
  142. </div>
  143. <!-- ========== Info from phpDoc block ========= -->
  144. <div class="method-signature">
  145. <span class="method-result">Auth_OpenID_AX_FetchResponse</span>
  146. <span class="method-name">
  147. Auth_OpenID_AX_FetchResponse
  148. </span>
  149. ([<span class="var-type"></span>&nbsp;<span class="var-name">$update_url</span> = <span class="var-default">null</span>])
  150. </div>
  151. <ul class="parameters">
  152. <li>
  153. <span class="var-type"></span>
  154. <span class="var-name">$update_url</span> </li>
  155. </ul>
  156. </div>
  157. <a name="methodfromSuccessResponse" id="fromSuccessResponse"><!-- --></a>
  158. <div class="oddrow">
  159. <div class="method-header">
  160. <span class="method-title">fromSuccessResponse</span> (line <span class="line-number">925</span>)
  161. </div>
  162. <!-- ========== Info from phpDoc block ========= -->
  163. <p class="short-description">Construct a FetchResponse object from an OpenID library SuccessResponse object.</p>
  164. <ul class="tags">
  165. <li><span class="field">return:</span> A FetchResponse containing the data from the OpenID message</li>
  166. </ul>
  167. <div class="method-signature">
  168. <span class="method-result">$response</span>
  169. <span class="method-name">
  170. fromSuccessResponse
  171. </span>
  172. (<span class="var-type">success_response:</span>&nbsp;<span class="var-name">$success_response</span>, [<span class="var-type">signed:</span>&nbsp;<span class="var-name">$signed</span> = <span class="var-default">true</span>])
  173. </div>
  174. <ul class="parameters">
  175. <li>
  176. <span class="var-type">success_response:</span>
  177. <span class="var-name">$success_response</span><span class="var-description">: A successful id_res response object</span> </li>
  178. <li>
  179. <span class="var-type">signed:</span>
  180. <span class="var-name">$signed</span><span class="var-description">: Whether non-signed args should be processsed. If True (the default), only signed arguments will be processsed.</span> </li>
  181. </ul>
  182. </div>
  183. <a name="methodgetExtensionArgs" id="getExtensionArgs"><!-- --></a>
  184. <div class="evenrow">
  185. <div class="method-header">
  186. <span class="method-title">getExtensionArgs</span> (line <span class="line-number">810</span>)
  187. </div>
  188. <!-- ========== Info from phpDoc block ========= -->
  189. <p class="short-description">Serialize this object into arguments in the attribute exchange namespace</p>
  190. <ul class="tags">
  191. <li><span class="field">return:</span> The dictionary of unqualified attribute exchange arguments that represent this fetch_response, or Auth_OpenID_AX_Error on error.</li>
  192. </ul>
  193. <div class="method-signature">
  194. <span class="method-result">$args</span>
  195. <span class="method-name">
  196. getExtensionArgs
  197. </span>
  198. ([<span class="var-type"></span>&nbsp;<span class="var-name">$request</span> = <span class="var-default">null</span>])
  199. </div>
  200. <ul class="parameters">
  201. <li>
  202. <span class="var-type"></span>
  203. <span class="var-name">$request</span> </li>
  204. </ul>
  205. <hr class="separator" />
  206. <div class="notes">Redefinition of:</div>
  207. <dl>
  208. <dt><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></dt>
  209. <dd>Get the string arguments that should be added to an OpenID message for this extension.</dd>
  210. </dl>
  211. </div>
  212. <a name="methodparseExtensionArgs" id="parseExtensionArgs"><!-- --></a>
  213. <div class="oddrow">
  214. <div class="method-header">
  215. <span class="method-title">parseExtensionArgs</span> (line <span class="line-number">900</span>)
  216. </div>
  217. <!-- ========== Info from phpDoc block ========= -->
  218. <ul class="tags">
  219. <li><span class="field">return:</span> Auth_OpenID_AX_Error on failure or true on success.</li>
  220. </ul>
  221. <div class="method-signature">
  222. <span class="method-result">$result</span>
  223. <span class="method-name">
  224. parseExtensionArgs
  225. </span>
  226. (<span class="var-type"></span>&nbsp;<span class="var-name">$ax_args</span>)
  227. </div>
  228. <ul class="parameters">
  229. <li>
  230. <span class="var-type"></span>
  231. <span class="var-name">$ax_args</span> </li>
  232. </ul>
  233. <hr class="separator" />
  234. <div class="notes">Redefinition of:</div>
  235. <dl>
  236. <dt><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodparseExtensionArgs">Auth_OpenID_AX_KeyValueMessage::parseExtensionArgs()</a></dt>
  237. <dd>Parse attribute exchange key/value arguments into this object.</dd>
  238. </dl>
  239. </div>
  240. <h4>Inherited Methods</h4>
  241. <a name='inherited_methods'><!-- --></a>
  242. <!-- =========== Summary =========== -->
  243. <p>Inherited From <span class="classname"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html">Auth_OpenID_AX_KeyValueMessage</a></span></p>
  244. <blockquote>
  245. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodAuth_OpenID_AX_KeyValueMessage">Auth_OpenID_AX_KeyValueMessage::Auth_OpenID_AX_KeyValueMessage()</a></span><br>
  246. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodaddValue">Auth_OpenID_AX_KeyValueMessage::addValue()</a></span><br>
  247. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodcount">Auth_OpenID_AX_KeyValueMessage::count()</a></span><br>
  248. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodget">Auth_OpenID_AX_KeyValueMessage::get()</a></span><br>
  249. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodgetSingle">Auth_OpenID_AX_KeyValueMessage::getSingle()</a></span><br>
  250. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodparseExtensionArgs">Auth_OpenID_AX_KeyValueMessage::parseExtensionArgs()</a></span><br>
  251. <span class="method-name"><a href="../OpenID/Auth_OpenID_AX_KeyValueMessage.html#methodsetValues">Auth_OpenID_AX_KeyValueMessage::setValues()</a></span><br>
  252. </blockquote>
  253. <!-- =========== Summary =========== -->
  254. <p>Inherited From <span class="classname"><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a></span></p>
  255. <blockquote>
  256. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></span><br>
  257. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodtoMessage">Auth_OpenID_Extension::toMessage()</a></span><br>
  258. </blockquote>
  259. </div>
  260. </div>
  261. <p class="notes" id="credit">
  262. Documentation generated on Tue, 21 Apr 2009 11:31:29 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
  263. </p>
  264. </div></body>
  265. </html>