gehe zum Quellcode dieser Datei
Datenstrukturen | |
class | Auth_Yadis_Service |
class | Auth_Yadis_XRDS |
Namensbereiche | |
namespace | OpenID |
Aufzählungen | |
enum | SERVICES_YADIS_MATCH_ALL |
enum | SERVICES_YADIS_MATCH_ANY |
enum | SERVICES_YADIS_MAX_PRIORITY |
enum | Auth_Yadis_XMLNS_XRD_2_0 |
enum | Auth_Yadis_XMLNS_XRDS |
Funktionen | |
Auth_Yadis_getNSMap () | |
Auth_Yadis_array_scramble ($arr) | |
Auth_Yadis_getXRDExpiration ($xrd_element, $default=null) |
Require the XPath implementation. This match mode means a given service must match ALL filters passed to the Auth_Yadis_XRDS::services() call.
This match mode means a given service must match ANY filters (at least one) passed to the Auth_Yadis_XRDS::services() call.
Auth_Yadis_array_scramble | ( | $ | arr | ) |
Auth_Yadis_getNSMap | ( | ) |
Definiert in Zeile 49 der Datei XRDS.php.
00050 { 00051 return array('xrds' => Auth_Yadis_XMLNS_XRDS, 00052 'xrd' => Auth_Yadis_XMLNS_XRD_2_0); 00053 }
Auth_Yadis_getXRDExpiration | ( | $ | xrd_element, | |
$ | default = null | |||
) |
Definiert in Zeile 214 der Datei XRDS.php.
00215 { 00216 $expires_element = $xrd_element->$parser->evalXPath('/xrd:Expires'); 00217 if ($expires_element === null) { 00218 return $default; 00219 } else { 00220 $expires_string = $expires_element->text; 00221 00222 // Will raise ValueError if the string is not the expected 00223 // format 00224 $t = strptime($expires_string, "%Y-%m-%dT%H:%M:%SZ"); 00225 00226 if ($t === false) { 00227 return false; 00228 } 00229 00230 // [int $hour [, int $minute [, int $second [, 00231 // int $month [, int $day [, int $year ]]]]]] 00232 return mktime($t['tm_hour'], $t['tm_min'], $t['tm_sec'], 00233 $t['tm_mon'], $t['tm_day'], $t['tm_year']); 00234 } 00235 }
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|