ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
generate-schema-cache.php File Reference

Generates a schema cache file, saving it to library/HTMLPurifier/ConfigSchema/schema.ser. More...

Go to the source code of this file.

Variables

 $target = dirname(__FILE__) . '/../library/HTMLPurifier/ConfigSchema/schema.ser'
 
 $builder = new HTMLPurifier_ConfigSchema_InterchangeBuilder()
 
 $interchange = new HTMLPurifier_ConfigSchema_Interchange()
 
 $loader = dirname(__FILE__) . '/../config-schema.php'
 
 $schema_builder = new HTMLPurifier_ConfigSchema_Builder_ConfigSchema()
 
 $schema = $schema_builder->build($interchange)
 

Detailed Description

Generates a schema cache file, saving it to library/HTMLPurifier/ConfigSchema/schema.ser.

This should be run when new configuration options are added to HTML Purifier. A cached version is available via the repository so this does not normally have to be regenerated.

If you have a directory containing custom configuration schema files, you can simple add a path to that directory as a parameter to this, and they will get included.

Definition in file generate-schema-cache.php.

Variable Documentation

◆ $builder

◆ $interchange

◆ $loader

$loader = dirname(__FILE__) . '/../config-schema.php'

Definition at line 29 of file generate-schema-cache.php.

Referenced by Twig_Loader_Chain\__construct(), Twig_Loader_Chain\addLoader(), Twig_Test_IntegrationTestCase\doIntegrationTest(), Twig_Loader_Chain\exists(), Twig_Loader_Chain\getCacheKey(), Twig_Tests_Extension_SandboxTest\getEnvironment(), ComposerAutoloaderInit2fffdf922cf8fdbf1f62eec345993c83\getLoader(), Twig_Tests_EnvironmentTest\getMockLoader(), Twig_Loader_Chain\getSource(), Twig_Loader_Chain\getSourceContext(), Twig_Loader_Chain\isFresh(), SAML2\Certificate\FingerprintLoader\loadFromConfiguration(), ilBPMN2Parser\parseBPMN2XML(), SimpleSAML_XHTML_Template\setupTwig(), SimpleSAML_XHTML_Template\setupTwigTemplatepaths(), ComponentRendererFSLoaderTest\test_getRenderer_uses_RendererFactory(), DefaultRendererTest\test_passesContextsToComponentRendererLoader(), Twig_Tests_Loader_ChainTest\testAddLoader(), Twig_Tests_EnvironmentTest\testAddMockExtension(), Twig_Tests_EnvironmentTest\testAddRuntimeLoader(), Twig_Tests_Loader_FilesystemTest\testArrayInheritance(), Twig_Tests_EnvironmentTest\testAutoescapeOption(), Twig_Tests_EnvironmentTest\testAutoReloadCacheHit(), Twig_Tests_EnvironmentTest\testAutoReloadCacheMiss(), Twig_Tests_EnvironmentTest\testAutoReloadOutdatedCacheHit(), Twig_Tests_Loader_FilesystemTest\testEmptyConstructor(), Twig_Tests_Loader_ChainTest\testExists(), Twig_Tests_EnvironmentTest\testExtensionsAreNotInitializedWhenRenderingACompiledTemplate(), Twig_Tests_Loader_FilesystemTest\testFindTemplateExceptionNamespace(), Twig_Tests_Loader_FilesystemTest\testFindTemplateWithCache(), Twig_Tests_Loader_ArrayTest\testGetCacheKey(), Twig_Tests_Loader_ChainTest\testGetCacheKey(), Twig_Tests_Loader_ArrayTest\testGetCacheKeyIsProtectedFromEdgeCollisions(), Twig_Tests_Loader_ArrayTest\testGetCacheKeyWhenTemplateDoesNotExist(), Twig_Tests_Loader_ChainTest\testGetCacheKeyWhenTemplateDoesNotExist(), Twig_Tests_Loader_ArrayTest\testGetCacheKeyWhenTemplateHasDuplicateContent(), Twig_Tests_Loader_FilesystemTest\testGetNamespaces(), Twig_Tests_Loader_ArrayTest\testGetSource(), Twig_Tests_Loader_ChainTest\testGetSource(), Twig_Tests_Loader_FilesystemTest\testGetSourceContext(), Twig_Tests_Loader_ChainTest\testGetSourceContext(), Twig_Tests_Loader_ArrayTest\testGetSourceContextWhenTemplateDoesNotExist(), Twig_Tests_Loader_ChainTest\testGetSourceContextWhenTemplateDoesNotExist(), Twig_Tests_Loader_ArrayTest\testGetSourceWhenTemplateDoesNotExist(), Twig_Tests_Loader_ChainTest\testGetSourceWhenTemplateDoesNotExist(), Twig_Tests_EnvironmentTest\testGlobals(), Twig_Tests_Loader_ArrayTest\testIsFresh(), Twig_Tests_Loader_ArrayTest\testIsFreshWhenTemplateDoesNotExist(), Twig_Tests_EnvironmentTest\testLegacyCompileSourceSignature(), Twig_Tests_FactoryRuntimeLoaderTest\testLoad(), Twig_Tests_ContainerRuntimeLoaderTest\testLoad(), Twig_Tests_FactoryRuntimeLoaderTest\testLoadReturnsNullForUnmappedRuntime(), Twig_Tests_Loader_FilesystemTest\testLoadTemplateAndRenderBlockWithCache(), Twig_Tests_Loader_FilesystemTest\testLoadTemplateFromPhar(), Twig_Tests_ContainerRuntimeLoaderTest\testLoadUnknownRuntimeReturnsNull(), Twig_Tests_Loader_FilesystemTest\testPaths(), Twig_Tests_Loader_FilesystemTest\testSecurity(), Twig_Tests_Loader_ArrayTest\testSetTemplate(), Twig_Tests_Loader_ArrayTest\testTemplateReference(), Twig_Tests_ErrorTest\testTwigExceptionAddsFileAndLine(), Twig_Tests_ErrorTest\testTwigExceptionGuessWithExceptionAndArrayLoader(), Twig_Tests_ErrorTest\testTwigExceptionGuessWithExceptionAndFilesystemLoader(), Twig_Tests_ErrorTest\testTwigExceptionGuessWithMissingVarAndArrayLoader(), Twig_Tests_ErrorTest\testTwigExceptionGuessWithMissingVarAndFilesystemLoader(), and getid3_lib\XML2array().

◆ $schema

◆ $schema_builder

Definition at line 38 of file generate-schema-cache.php.

◆ $target

$target = dirname(__FILE__) . '/../library/HTMLPurifier/ConfigSchema/schema.ser'

Definition at line 22 of file generate-schema-cache.php.

Referenced by GuzzleHttp\Psr7\CachingStream\__construct(), ilStartUpGUI\_checkGoto(), ilFSStorageCourse\_clone(), ilCourseFile\_cloneFiles(), ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilInternalLink\_extractTypeOfTarget(), SurveyQuestion\_getInternalLinkHref(), assQuestion\_getInternalLinkHref(), ilMapArea\_getIntLinks(), ilInternalLink\_removeInstFromTarget(), ilMapArea\_resolveIntLinks(), SimpleSAML_Auth_ProcessingChain\addFilters(), ilECSObjectSettings\addMetadataToJson(), ilLMChapterImportForm\addNode(), ilStudyProgrammeMembersTableGUI\buildActionDropDown(), ilIndividualAssessmentMembersTableGUI\buildActionDropDown(), ilTestInfoScreenToolbarGUI\buildFormAction(), ilTestInfoScreenToolbarGUI\buildLinkTarget(), GuzzleHttp\Psr7\CachingStream\cacheEntireStream(), Twig_Tests_NodeVisitor_OptimizerTest\checkForConfiguration(), ilSetup\cloneFromSource(), ilPageObject\collectMediaObjects(), CAS_CookieJar\cookieMatchesTarget(), ilObjContentObject\copyAllPagesAndChapters(), ilObjBibliographic\copyFile(), ilObjPortfolioBaseGUI\copyPage(), ilObjPortfolioGUI\createPortfolioFromAssignment(), ilObjPortfolioGUI\createPortfolioFromTemplateProcess(), ilImagemapPreview\createPreview(), SimpleSAML\XML\Shib13\AuthnRequest\createRedirect(), ilSystemStyleSkinContainer\createResourceDirectory(), ilSCORM13Package\dbImportSco(), ilBookmarkAdministrationGUI\delete(), ilObjRoleFolderGUI\doAddRolePermissions(), ilBookingObject\doClone(), ilObjBlog\doCloneObject(), ilObjRoleFolderGUI\doCopyRole(), ilObjRoleFolderGUI\doRemoveRolePermissions(), ilDataEmitter\emit(), HTMLPurifier_ConfigSchema_Validator\error(), ilObjLinkResourceGUI\exportHTML(), ilLinksTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), sspmod_adfs_IdP_ADFS\generateResponse(), ilStartUpGUI\getAcceptance(), ilTestInfoScreenToolbarGUI\getClassName(), ilTestInfoScreenToolbarGUI\getClassNameArray(), ilTestInfoScreenToolbarGUI\getClassPath(), CAS_CookieJar\getCookies(), ilPageObject\getInitialOpenedContent(), ilPageObject\getInternalLinks(), ilLinkInputGUI\getIntLinkAttributes(), ilLMPageObjectGUI\getLinkXML(), ilHelpGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilPDNotesBlockGUI\getListRowData(), ilECSUtils\getMatchableContent(), ilNoteGUI\getNoteListHTML(), ilNoteGUI\getPDNoteHTML(), GuzzleHttp\Psr7\Request\getRequestTarget(), ilLMPresentationGUI\getSourcecodeDownloadLink(), ilObjTestGUI\getTabs(), ilFormGUI\getTarget(), ilLMMenuEditor\getTarget(), ilLinkResourceItems\getTarget(), ilPermanentLinkGUI\getTarget(), ilMapArea\getTarget(), ilStyleExporter\getXmlRepresentation(), ilPageObject\handleImportRepositoryLink(), ilPageObject\handleRepositoryLinksOnCopy(), ilRemoteObjectBase\importMetadataFromJson(), ilSCORM2004SeqTemplate\importTemplate(), ilStyleImporter\importXmlRepresentation(), ilObjSCORM2004LearningModuleGUI\insertAsset(), ilSCORM2004Node\insertAssetClip(), ilStructureObjectGUI\insertChapter(), ilObjSCORM2004LearningModuleGUI\insertChapter(), ilObjContentObjectGUI\insertChapter(), ilStructureObjectGUI\insertChapterClip(), ilSCORM2004Node\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), ilPageObject\insertInstIntoIDs(), ilSkillTreeNode\insertItemsFromClip(), ilStructureObjectGUI\insertPage(), ilObjSCORM2004LearningModuleGUI\insertPage(), ilSCORM2004Node\insertPageClip(), ilStructureObjectGUI\insertPageClip(), ilSurveyEditorGUI\insertQuestions(), ilObjSCORM2004LearningModuleGUI\insertScenario(), ilObjSCORM2004LearningModuleGUI\insertSco(), ilObjSCORM2004LearningModuleGUI\insertTemplate(), ilDbSetup\isDatabaseInstalled(), Parser\magicLinkCallback(), ilPageObject\moveIntLinks(), ilSurveyPageGUI\moveNext(), ilSurveyPageGUI\movePage(), ilSurveyPageGUI\movePrevious(), ilInternalLinkGUI\outputThumbnail(), ilObjMediaPoolSubItemListGUI\parseImage(), ilSurveyPageGUI\paste(), ilSCORM2004Page\performAutomaticModifications(), sspmod_ldap_Auth_Process_AttributeAddFromLDAP\process(), ilLMChapterImportForm\processHierarchy(), ilSCORM2004NodeGUI\putInTree(), ilLMObjectGUI\putInTree(), ilTaxonomyNode\putInTree(), ilSkillTreeNode\putInTree(), ilSCORM2004Node\putInTree(), ilLMObject\putInTree(), sspmod_saml_IdP_SAML1\receiveAuthnRequest(), ShibWAYF\redirect(), GuzzleHttp\Psr7\UriResolver\relativize(), ilUpdateUtilsMailMigration\rename(), ilPortfolioPage\renameLinksOnTitleChange(), ilExplorerBaseGUI\renderNode(), ilPageObject\resolveIntLinks(), ilObjFileGUI\save(), ilPageObject\saveInternalLinks(), ilExAssignment\saveMultiFeedbackFiles(), ilPersonalSettingsGUI\savePassword(), ilPersonalProfileGUI\savePersonalData(), sspmod_saml_IdP_SAML1\sendResponse(), GeSHi\set_link_target(), ilSCORM2004PageGUI\setDefaultLinkXml(), ilPageObjectGUI\setDefaultLinkXml(), ilTestInfoScreenToolbarGUI\setFormAction(), ilTestInfoScreenToolbarGUI\setParameter(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testCreateRelativePathWithInvalidTargetWhichShouldFail(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testCreateRelativePathWithStorageTargetWhichShouldSucceed(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testCreateRelativePathWithWebTargetWhichShouldSucceed(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testDeriveFilesystemFromWithAbsoluteLibsTargetWhichShouldSucceed(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testDeriveFilesystemFromWithInvalidTargetWhichShouldFail(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testDeriveFilesystemFromWithRelativeLibsTargetWhichShouldSucceed(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testDeriveFilesystemFromWithStorageTargetWhichShouldSucceed(), ILIAS\Filesystem\Util\LegacyPathHelperTest\testDeriveFilesystemFromWithWebTargetWhichShouldSucceed(), Twig_Tests_NodeVisitor_OptimizerTest\testForOptimizer(), ilUtil\unique_multi_array(), ilUtil\unzip(), ilPortfolioPage\updateInternalLinks(), ilLMObject\updateInternalLinks(), ilChatroomUploadFileGUI\uploadFile(), and ilPCParagraph\xml2output().