ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
UtfNormalGenerate.php File Reference

Go to the source code of this file.

Functions

 callbackCanonical ( $matches)
 
 callbackCompat ( $matches)
 

Variables

 if (php_sapi_name() !='cli')
 
 $in = fopen("DerivedNormalizationProps.txt", "rt" )
 
if(! $in) print Initializing normalization quick check tables n
 
 $checkNFC = array()
 
if(! $in) $exclude = array()
 
if(! $in) $compatibilityDecomp = array()
 
 $canonicalDecomp = array()
 
 $canonicalComp = array()
 
 $combiningClass = array()
 
 $total = 0
 
 $compat = 0
 
 $canon = 0
 
 $changed = 42
 
 $pass = 1
 
 $out = fopen("UtfNormalData.inc", "wt")
 
if( $out) else
 

Function Documentation

◆ callbackCanonical()

callbackCanonical (   $matches)

Definition at line 218 of file UtfNormalGenerate.php.

References $canonicalDecomp.

218  {
219  global $canonicalDecomp;
220  if( isset( $canonicalDecomp[$matches[1]] ) ) {
221  return $canonicalDecomp[$matches[1]];
222  }
223  return $matches[1];
224 }
$canonicalDecomp

◆ callbackCompat()

callbackCompat (   $matches)

Definition at line 226 of file UtfNormalGenerate.php.

References $compatibilityDecomp.

226  {
227  global $compatibilityDecomp;
228  if( isset( $compatibilityDecomp[$matches[1]] ) ) {
229  return $compatibilityDecomp[$matches[1]];
230  }
231  return $matches[1];
232 }
if(! $in) $compatibilityDecomp

Variable Documentation

◆ $canon

$canon = 0

Definition at line 90 of file UtfNormalGenerate.php.

◆ $canonicalComp

$canonicalComp = array()

Definition at line 86 of file UtfNormalGenerate.php.

◆ $canonicalDecomp

$canonicalDecomp = array()

Definition at line 85 of file UtfNormalGenerate.php.

◆ $changed

$changed = 42

Definition at line 131 of file UtfNormalGenerate.php.

◆ $checkNFC

$checkNFC = array()

Definition at line 44 of file UtfNormalGenerate.php.

◆ $combiningClass

$combiningClass = array()

Definition at line 87 of file UtfNormalGenerate.php.

◆ $compat

$compat = 0

Definition at line 89 of file UtfNormalGenerate.php.

◆ $compatibilityDecomp

if (! $in) $compatibilityDecomp = array()

Definition at line 84 of file UtfNormalGenerate.php.

◆ $exclude

if (! $in) $exclude = array()

Definition at line 66 of file UtfNormalGenerate.php.

◆ $in

$in = fopen("DerivedNormalizationProps.txt", "rt" )

Definition at line 36 of file UtfNormalGenerate.php.

◆ $out

$out = fopen("UtfNormalData.inc", "wt")

Definition at line 168 of file UtfNormalGenerate.php.

◆ $pass

$pass = 1

Definition at line 132 of file UtfNormalGenerate.php.

◆ $total

$total = 0

Definition at line 88 of file UtfNormalGenerate.php.

◆ else

if ($out) else
Initial value:
{
print "Can't create file UtfNormalData.inc\n"

Definition at line 189 of file UtfNormalGenerate.php.

◆ if

if(php_sapi_name() !='cli')

Definition at line 30 of file UtfNormalGenerate.php.

◆ n

while ($changed > 0) print Recursively expanding compatibility mappings n

Definition at line 37 of file UtfNormalGenerate.php.