gehe zum Quellcode dieser Datei
Datenstrukturen | |
class | Auth_Yadis_DiscoveryResult |
class | Auth_Yadis_Yadis |
Namensbereiche | |
namespace | OpenID |
Aufzählungen | |
enum | Auth_Yadis_CONTENT_TYPE |
enum | Auth_Yadis_HEADER_NAME |
Funktionen | |
Auth_Yadis_getServiceEndpoints ($input_url, $xrds_parse_func, $discover_func=null, $fetcher=null) |
Auth_Yadis_getServiceEndpoints | ( | $ | input_url, | |
$ | xrds_parse_func, | |||
$ | discover_func = null , |
|||
$ | fetcher = null | |||
) |
Perform the Yadis protocol on the input URL and return an iterable of resulting endpoint objects.
input_url: The URL on which to perform the Yadis protocol
discover_func: if not null, a callback which should take (uri) and return an Auth_Yadis_Yadis object or null.
Definiert in Zeile 136 der Datei Yadis.php.
00138 { 00139 if ($discover_func === null) { 00140 $discover_function = array('Auth_Yadis_Yadis', 'discover'); 00141 } 00142 00143 $yadis_result = call_user_func_array($discover_func, 00144 array($input_url, $fetcher)); 00145 00146 if ($yadis_result === null) { 00147 return array($input_url, array()); 00148 } 00149 00150 $endpoints = call_user_func_array($xrds_parse_func, 00151 array($yadis_result->normalized_uri, 00152 $yadis_result->response_text)); 00153 00154 if ($endpoints === null) { 00155 $endpoints = array(); 00156 } 00157 00158 return array($yadis_result->normalized_uri, $endpoints); 00159 }
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|