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.

Namespaces

 UtfNormal
 Unicode normalization routines for working with UTF-8 strings.
 

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 219 of file UtfNormalGenerate.php.

References $canonicalDecomp.

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

◆ callbackCompat()

callbackCompat (   $matches)

Definition at line 227 of file UtfNormalGenerate.php.

References $compatibilityDecomp.

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

Variable Documentation

◆ $canon

$canon = 0

Definition at line 89 of file UtfNormalGenerate.php.

◆ $canonicalComp

$canonicalComp = array()

Definition at line 85 of file UtfNormalGenerate.php.

◆ $canonicalDecomp

$canonicalDecomp = array()

Definition at line 84 of file UtfNormalGenerate.php.

Referenced by callbackCanonical().

◆ $changed

◆ $checkNFC

$checkNFC = array()

Definition at line 44 of file UtfNormalGenerate.php.

◆ $combiningClass

$combiningClass = array()

Definition at line 86 of file UtfNormalGenerate.php.

◆ $compat

$compat = 0

Definition at line 88 of file UtfNormalGenerate.php.

Referenced by HTMLPurifier_Bootstrap\registerAutoload().

◆ $compatibilityDecomp

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

Definition at line 83 of file UtfNormalGenerate.php.

Referenced by callbackCompat().

◆ $exclude

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

Definition at line 65 of file UtfNormalGenerate.php.

Referenced by HTML5TreeConstructer\generateImpliedEndTags().

◆ $in

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

Definition at line 36 of file UtfNormalGenerate.php.

Referenced by ilWikiContentSearch\__createInStatement(), ilObjectSearch\__createInStatement(), ilLMContentSearch\__createInStatement(), ilMetaDataSearch\__createInStatement(), ilAdvancedSearch\__getInStatement(), ilShopMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilShopMetaDataSearch\__searchDescriptions(), ilMetaDataSearch\__searchKeywords(), ilShopMetaDataSearch\__searchKeywords(), ilMetaDataSearch\__searchTitles(), ilShopMetaDataSearch\__searchTitles(), ilSCORM2004Tracking\_countCompleted(), ilObjSCORMTracking\_countCompleted(), ilCourseObjective\_deleteAll(), ilNestedSetXML\_deleteAllChildMetaData(), ilObjQuestionPool\_getAvailableQuestionpools(), ilSCORM2004Tracking\_getCollectionStatus(), ilObjSCORMTracking\_getCollectionStatus(), ilObjSCORMTracking\_getCompleted(), ilSCORM2004Tracking\_getCountCompletedPerUser(), ilObjSCORMTracking\_getCountCompletedPerUser(), ilObjSCORMTracking\_getFailed(), ilObjSCORMTracking\_getInProgress(), ilSCORM2004Tracking\_getItemProgressInfo(), ilPaymentObject\_getObjectsData(), ilObjSCORMTracking\_getProgressInfo(), ilLPStatusObjectives\_getStatusInfo(), soap_server\add_to_map(), nusoap_server\add_to_map(), wsdl\addOperation(), ilObjBookingPoolGUI\buildDatesBySchedule(), HTMLPurifier_Encoder\cleanUTF8(), ilFileUtils\fastGunzip(), ilFileUtils\fastGZip(), ilPaymentCoupons\getCoupons(), ilGlossaryTerm\getFirstLetters(), ilObjUser\getInactivationDate(), ilObjiLincCourse\getMemberData(), ilObjiLincCourse\getMemberRolesTitle(), ilGlossaryTerm\getTermList(), HTMLPurifier_Encoder\iconv(), ilDBOracle\in(), ilObjTermsOfService\initType(), ilObjForum\lookupForumIdByRefId(), HTMLPurifier_AttrTypes\makeEnum(), ilMail\markRead(), ilMail\markUnread(), ilMail\moveMailsToFolder(), ilShopObjectSearch\performSearch(), ilWikiContentSearch\performSearch(), ilLMContentSearch\performSearch(), ilObjectSearch\performSearch(), ilSCORM13Package\removeCPData(), ilObjStyleSheetGUI\saveTagStyle(), ilSCORMOfflineMode\sop2il(), ilObjSCORMTracking\storeJsApi(), and HTMLPurifier_Encoder\unsafeIconv().

◆ $out

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

Definition at line 167 of file UtfNormalGenerate.php.

Referenced by ilDateList\__toString(), TCPDF\_enddoc(), TCPDF\_getannotsrefs(), TCPDF\_getxobjectdict(), TCPDF\_putAPXObject(), TCPDF\_putbookmarks(), TCPDF\_putcatalog(), TCPDF\_putcidfont0(), TCPDF\_putdests(), TCPDF\_putEmbeddedFiles(), TCPDF\_putencryption(), TCPDF\_putextgstates(), TCPDF\_putfonts(), TCPDF\_putimages(), TCPDF\_putinfo(), TCPDF\_putjavascript(), TCPDF\_putocg(), TCPDF\_putpages(), TCPDF\_putresourcedict(), TCPDF\_putshaders(), TCPDF\_putsignature(), TCPDF\_putspotcolors(), TCPDF\_puttruetypeunicode(), TCPDF\_putviewerpreferences(), TCPDF\_putXMP(), TCPDF\_putxobjects(), TCPDF_STATIC\_RC4(), soap_server\add_to_map(), nusoap_server\add_to_map(), wsdl\addOperation(), array_comb(), benchmarkForm(), ilVirusScannerSophos\cleanFile(), HTMLPurifier_Encoder\cleanUTF8(), convert(), Spreadsheet_Excel_Reader\dump(), ilAddressbook\entryToString(), UtfNormal\fastCombiningSort(), UtfNormal\fastCompose(), UtfNormal\fastDecompose(), ilFileUtils\fastGunzip(), ilFileUtils\fastGZip(), ilTemplate\fillMessage(), ilObjSCORM2004LearningModule\fixReload(), ilDataCollectionTreePickInputGUI\getHtml(), Sanitizer\hexCharReference(), Core\highlight_text(), HTMLPurifier_Encoder\iconv(), JSMin\minify(), ilIniFile\parse_data(), UtfNormal\placebo(), ilDAVServer\PUT(), UtfNormal\quickIsNFCVerify(), randomString(), soap_server\register(), nusoap_server\register(), ilDataCollectionRecordViewGUI\renderPrevNextLinks(), ilDataCollectionRecordViewGUI\renderSelectOptions(), ilVirusScannerSophos\scanFile(), ilVirusScannerAntiVir\scanFile(), ilVirusScannerClamAV\scanFile(), ilBMFTransport_SMTP\send(), TCPDF\SetFont(), TCPDF\SetFontSize(), ilTemplate\show(), and HTMLPurifier_Encoder\unsafeIconv().

◆ $pass

$pass = 1

Definition at line 131 of file UtfNormalGenerate.php.

Referenced by ilTestScoringByQuestionsGUI\__construct(), ilObjTestAccess\_getMaxPointsForTestPass(), DBUpdateTestResultCalculator\_getQuestionCountAndPointsForPassOfParticipant(), ilObjTest\_getQuestionCountAndPointsForPassOfParticipant(), assQuestion\_getReachedPoints(), ilObjTestAccess\_getTestQuestions(), DBUpdateTestResultCalculator\_getWorkingTimeOfParticipantForPass(), ilObjTest\_getWorkingTimeOfParticipantForPass(), ilObjTestAccess\_isPassed(), assQuestion\_isUsedInRandomTest(), assQuestion\_isWorkedThrough(), assQuestion\_setReachedPoints(), DBUpdateTestResultCalculator\_updateTestResultCache(), assQuestion\_updateTestResultCache(), ilMembershipRegistrationSettingsGUI\addMembershipFormElements(), ilTestEvaluationUserData\addPass(), ilTestEvaluationUserData\addQuestion(), assQuestionGUI\addTab_QuestionPreview(), Auth_Container_SMBPasswd\addUser(), Auth_Container_File\addUser(), ilObjTest\allObligationsAnswered(), ilTestArchiver\appendToArchiveDataIndex(), ilTestArchiveService\archiveActivesPass(), ilTestPlayerAbstractGUI\archiveParticipantSubmission(), ilTestArchiveService\archivePassesByActives(), ilLDAPQuery\bind(), ilTestPassDeletionConfirmationGUI\build(), ilObjTest\buildExamId(), ilTestScoringGUI\buildManScoringParticipantForm(), ilTestArchiveService\buildOverviewFilename(), ilTestArchiver\buildPassDataDirectory(), assOrderingHorizontal\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assFlashQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assMultipleChoice\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assOrderingQuestion\calculateReachedPoints(), assJavaApplet\calculateReachedPoints(), assImagemapQuestion\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assClozeTest\calculateReachedPoints(), assQuestion\calculateResultsFromSolution(), ilObjTestVerification\createFromTest(), ilTestArchiver\createPassDataDirectory(), ilTestArchiver\createPassMaterialsDirectory(), assSingleChoice\createRandomSolution(), ilObjTest\createRandomSolutions(), ilObjTest\createTestSequence(), assFileUpload\deleteUploadedFiles(), ilTestEvaluationGUI\detailedEvaluation(), ilTestArchiver\determinePassDataPath(), ilTestEvaluationUserData\doesObligationsAnsweredPassExist(), ilTestArchiver\ensurePassDataDirectoryIsAvailable(), ilTestArchiver\ensurePassMaterialsDirectoryIsAvailable(), ilObjTest\evalStatistical(), ilTestSkillEvaluation\evaluate(), ilTestSignatureGUI\executeCommand(), ilTestExport\exportToCSV(), ilTestExport\exportToExcel(), ilTestPassesSelector\fetchClosedPasses(), ilAuthContainerMultiple\fetchData(), Auth_Container_File\fetchData(), Auth_Container_Array\fetchData(), Auth_Container_Multiple\fetchData(), ilTestPassesSelector\fetchLastPass(), ilTestScoringGUI\fetchPassParameter(), ilTestPassesSelector\fetchReportablePasses(), ilTestPlayerAbstractGUI\fillQuestionRelatedNavigation(), ilGroupRegistrationGUI\fillRegistrationType(), ilCourseRegistrationGUI\fillRegistrationType(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilTestEvaluationData\generateOverview(), assQuestion\getAdjustedReachedPoints(), assErrorTextGUI\getAggregatedAnswersView(), ilObjTest\getAllQuestions(), ilObjTest\getAnsweredQuestionCount(), assQuestionGUI\getAnswerFeedbackOutput(), assClozeTestGUI\getAnswerFeedbackOutput(), ilTestEvaluationUserData\getAvailablePoints(), ilTestEvaluationUserData\getBestPass(), ilTestEvaluationUserData\getBestPassObject(), ilTestCertificateAdapter\getCertificateVariablesForPresentation(), ilTestServiceGUI\getCorrectSolutionOutput(), DBUpdateTestResultCalculator\getExamId(), ilObjTest\getExistingQuestions(), assNumeric\getExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), assTextSubset\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), assSingleChoice\getExpressionTypes(), assErrorText\getExpressionTypes(), assMultipleChoice\getExpressionTypes(), assFormulaQuestion\getExpressionTypes(), assOrderingQuestion\getExpressionTypes(), assMatchingQuestion\getExpressionTypes(), assClozeTest\getExpressionTypes(), ilTestEvaluationGUI\getFilteredTestResult(), assQuestionGUI\getGenericFeedbackOutput(), assQuestionGUI\getGenericFeedbackOutputForIncorrectSolution(), assQuestion\getLastChange(), ilTestEvaluationUserData\getLastPass(), ilTestService\getManScoringQuestionGuiList(), ilObjTest\getManualFeedback(), assNumeric\getMaximumPoints(), ilSoapTestAdministration\getNrOfQuestionsInPass(), ilSoapFunctions\getNrOfQuestionsInPass(), ilObjTest\getNrOfResultsForPass(), assQuestion\getNumExistingSolutionRecords(), ilTestSession\getPass(), ilTestArchiver\getPassDataDirectory(), ilTestServiceGUI\getPassDetailsOverview(), ilObjTest\getPassFinishDate(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilTestArchiver\getPassMaterialsDirectory(), ilTestServiceGUI\getPassOverview(), ilTestService\getPassOverviewData(), ilSoapTestAdministration\getPositionOfQuestion(), ilSoapFunctions\getPositionOfQuestion(), ilSoapTestAdministration\getPreviousReachedPoints(), ilSoapFunctions\getPreviousReachedPoints(), ilTestEvaluationUserData\getQuestion(), ilTestEvaluationUserData\getQuestionCount(), ilTestEvaluationUserData\getQuestions(), ilObjTest\getQuestionsOfPass(), ilSoapTestAdministration\getQuestionSolution(), ilSoapFunctions\getQuestionSolution(), assJavaApplet\getReachedInformation(), ilTestEvaluationUserData\getReachedPoints(), assQuestion\getReachedPoints(), ilTestEvaluationUserData\getReachedPointsInPercentForPass(), ilTestEvaluationUserData\getRequestedHintsCount(), ilTestServiceGUI\getResultsHeadUserAndPass(), ilTestServiceGUI\getResultsOfUserOutput(), ilTestSequenceFactory\getSequenceByPass(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assQuestion\getSolutionValues(), ilObjTest\getStartingTimeOfUser(), assTextSubsetGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assNumericGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), ilTestSignatureGUI\getTestOutputGUI(), ilObjTest\getTestResult(), ilObjTest\getTextAnswer(), ilTestEvaluationUserData\getTimeOfWork(), assFileUpload\getUploadedFiles(), assFileUpload\getUploadedFilesForWeb(), assTextQuestionGUI\getUserAnswer(), assJavaApplet\getUserQuestionResult(), ilObjTest\getWorkedQuestions(), ilTestSignaturePlugin\handInFileForArchiving(), ilTestArchiver\handInParticipantMisc(), ilTestArchiver\handInParticipantQuestionMaterial(), ilTestArchiver\handInParticipantSubmission(), ilTestArchiver\handInTestResult(), assFileUpload\handleSubmission(), ilTestArchiver\hasPassDataDirectory(), ilTestArchiver\hasPassMaterialsDirectory(), ilObjTest\hasRandomQuestionsForPass(), ilObjCourseGUI\initEditForm(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilLDAPSettingsGUI\initForm(), ilObjGroupGUI\initForm(), ilCalendarCategoryGUI\initFormCategory(), ilObjUserFolderGUI\initFormGeneralSettings(), ilECSSettingsGUI\initSettingsForm(), ilTestSkillEvaluation\initTestResultData(), assKprimChoice\isAnswered(), assTextQuestion\isAnswered(), assMultipleChoice\isAnswered(), assFileUpload\isAnswered(), assSingleChoice\isAnswered(), ilTestPassesSelector\isClosedPass(), assKprimChoice\isComplete(), ilObjTestAccess\isFailed(), ilTestPassesSelector\isProcessingTimeReached(), ilTestPlayerDynamicQuestionSetGUI\isQuestionAnsweredCorrect(), ilTestPassesSelector\isReportablePass(), assNumeric\isValidSolutionSubmit(), ilObjTest\loadQuestions(), ilObjTest\lookupExamId(), ilTestEvaluationGUI\outCorrectSolution(), ilTestEvaluationGUI\outParticipantsPassDetails(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), assTextQuestionGUI\outQuestionForTest(), assImagemapQuestionGUI\outQuestionForTest(), assQuestionGUI\outQuestionForTest(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilDataCollectionDatatype\passThroughFilter(), assQuestion\persistPreviewState(), ilTestPlayerDynamicQuestionSetGUI\persistQuestionAnswerStatus(), assQuestion\persistWorkingState(), ilStartUpGUI\purgePlaceholders(), ilTestScoring\recalculatePass(), ilTestScoring\recalculatePasses(), ilTestEvaluationGUI\redirectToPassDeletionContext(), ilTestArchiveService\renderOverviewContent(), ilTestScoringByQuestionsGUI\resetManScoringByQuestionFilter(), assFileUpload\reworkWorkingData(), ilLDAPSettingsGUI\roleMapping(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilSoapTestAdministration\saveQuestion(), ilSoapFunctions\saveQuestion(), ilSoapFunctions\saveQuestionResult(), ilSoapTestAdministration\saveQuestionSolution(), ilSoapFunctions\saveQuestionSolution(), ilTestOutputGUI\saveQuestionSolution(), ilTestPlayerDynamicQuestionSetGUI\saveQuestionSolution(), assOrderingHorizontal\saveWorkingData(), assErrorText\saveWorkingData(), assTextSubset\saveWorkingData(), assFileUpload\saveWorkingData(), assTextQuestion\saveWorkingData(), assSingleChoice\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assClozeTest\saveWorkingData(), HTTP_Request\setBasicAuth(), assOrderingHorizontal\setExportDetailsXLS(), assErrorText\setExportDetailsXLS(), assNumeric\setExportDetailsXLS(), assTextSubset\setExportDetailsXLS(), assTextQuestion\setExportDetailsXLS(), assFileUpload\setExportDetailsXLS(), assImagemapQuestion\setExportDetailsXLS(), assJavaApplet\setExportDetailsXLS(), assMultipleChoice\setExportDetailsXLS(), assSingleChoice\setExportDetailsXLS(), assOrderingQuestion\setExportDetailsXLS(), assKprimChoice\setExportDetailsXLS(), assFormulaQuestion\setExportDetailsXLS(), assMatchingQuestion\setExportDetailsXLS(), assClozeTest\setExportDetailsXLS(), ilTestSession\setPass(), HTTP_Request\setProxy(), assTextQuestion\setReachedPoints(), ilTestPlayerAbstractGUI\showListOfAnswers(), ilTestScoringGUI\showManScoringParticipantScreen(), ilTestEvaluationGUI\singleResults(), ilObjTest\startWorkingTime(), ilTestSkillEvaluation\trigger(), ilGroupRegistrationGUI\validate(), and ilCourseRegistrationGUI\validate().

◆ $total

◆ 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