ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
Misc.php File Reference

Go to the source code of this file.

Namespaces

namespace  OpenID
 This module contains code for dealing with associations between consumers and servers.

Functions

 Auth_Yadis_getUCSChars ()
 Auth_Yadis_getIPrivateChars ()
 Auth_Yadis_pct_escape_unicode ($char_match)
 Auth_Yadis_startswith ($s, $stuff)

Function Documentation

Auth_Yadis_getIPrivateChars ( )

Definition at line 35 of file Misc.php.

Referenced by Auth_OpenID_getEscapeRE(), and Auth_Yadis_getEscapeRE().

{
return array(
array(0xE000, 0xF8FF),
array(0xF0000, 0xFFFFD),
array(0x100000, 0x10FFFD)
);
}

+ Here is the caller graph for this function:

Auth_Yadis_getUCSChars ( )

Definition at line 12 of file Misc.php.

Referenced by Auth_OpenID_getEscapeRE(), and Auth_Yadis_getEscapeRE().

{
return array(
array(0xA0, 0xD7FF),
array(0xF900, 0xFDCF),
array(0xFDF0, 0xFFEF),
array(0x10000, 0x1FFFD),
array(0x20000, 0x2FFFD),
array(0x30000, 0x3FFFD),
array(0x40000, 0x4FFFD),
array(0x50000, 0x5FFFD),
array(0x60000, 0x6FFFD),
array(0x70000, 0x7FFFD),
array(0x80000, 0x8FFFD),
array(0x90000, 0x9FFFD),
array(0xA0000, 0xAFFFD),
array(0xB0000, 0xBFFFD),
array(0xC0000, 0xCFFFD),
array(0xD0000, 0xDFFFD),
array(0xE1000, 0xEFFFD)
);
}

+ Here is the caller graph for this function:

Auth_Yadis_pct_escape_unicode (   $char_match)

Definition at line 44 of file Misc.php.

References $result.

{
$c = $char_match[0];
$result = "";
for ($i = 0; $i < strlen($c); $i++) {
$result .= "%".sprintf("%X", ord($c[$i]));
}
return $result;
}
Auth_Yadis_startswith (   $s,
  $stuff 
)

Definition at line 54 of file Misc.php.

Referenced by Auth_OpenID_remove_dot_segments(), Auth_Yadis_identifierScheme(), Auth_Yadis_rootAuthority(), Auth_Yadis_toIRINormal(), and Auth_Yadis_XRI().

{
return strpos($s, $stuff) === 0;
}

+ Here is the caller graph for this function: