591 lines
15 KiB
PHP
591 lines
15 KiB
PHP
<?php
|
|
|
|
class DcAutoloader
|
|
{
|
|
private static $map = array (
|
|
'LanguageFunctions' =>
|
|
array (
|
|
0 => '/mysyde/admin/edit_language_functions.php',
|
|
),
|
|
'SiteFunctions' =>
|
|
array (
|
|
0 => '/mysyde/admin/edit_site_functions.php',
|
|
),
|
|
'TemplateInserterBase' =>
|
|
array (
|
|
0 => '/mysyde/common/abstracts/TemplateInserterBase.php',
|
|
),
|
|
'URLBase' =>
|
|
array (
|
|
0 => '/mysyde/common/abstracts/URLBase.php',
|
|
),
|
|
'Address' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Address.php',
|
|
),
|
|
'AddressCollection' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/AddressCollection.php',
|
|
),
|
|
'AddressConfig' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/AddressConfig.php',
|
|
),
|
|
'Adminmenu' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Adminmenu.php',
|
|
),
|
|
'BasicControlFlowHandler' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/BasicControlFlowHandler.php',
|
|
),
|
|
'CollectionTypes' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/CollectionTypes.php',
|
|
),
|
|
'DOMNodeView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/DOMNodeView.php',
|
|
),
|
|
'DOMTest' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/DOMTemplateTest.php',
|
|
),
|
|
'A' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/DOMTemplateTest.php',
|
|
1 => '/mysyde/common/tests/HookTest.php',
|
|
),
|
|
'DOMViewModelTest' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/DOMViewModelTest.php',
|
|
),
|
|
'EMail' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/EMail.php',
|
|
),
|
|
'Encryption' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Encryption.php',
|
|
),
|
|
'FlattenedGettableDecorator' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/FlattenedGettableDecorator.php',
|
|
),
|
|
'Form' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Form.php',
|
|
),
|
|
'FormBuilder' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/FormBuilder.php',
|
|
),
|
|
'FormElement' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/FormElement.php',
|
|
),
|
|
'GeneralErrorExceptionHandling' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GeneralErrorExceptionHandling.php',
|
|
),
|
|
'GenericCRUDObjectStorageUnitOfWork' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericCRUDObjectStorageUnitOfWork.php',
|
|
),
|
|
'GenericDOMRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericDOMRepositoryListView.php',
|
|
),
|
|
'GenericDOMView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericDOMView.php',
|
|
),
|
|
'GenericObjectStorage' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericObjectStorage.php',
|
|
),
|
|
'GenericPHTMLRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericPHTMLRepositoryListView.php',
|
|
),
|
|
'GenericPHTMLView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericPHTMLView.php',
|
|
),
|
|
'GenericPlainRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericPlainRepositoryListView.php',
|
|
),
|
|
'GenericPlainView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericPlainView.php',
|
|
),
|
|
'GenericServicePayload' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericServicePayload.php',
|
|
),
|
|
'GenericServicePayloadBuilder' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericServicePayloadBuilder.php',
|
|
),
|
|
'GenericView' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/GenericView.php',
|
|
),
|
|
'Hook' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Hook.php',
|
|
),
|
|
'HTMLSnippetProvider' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/HTMLSnippetProvider.php',
|
|
),
|
|
'Language' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Language.php',
|
|
),
|
|
'LanguageCollection' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/LanguageCollection.php',
|
|
),
|
|
'LanguageConfig' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/LanguageConfig.php',
|
|
),
|
|
'LanguageRepository' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/LanguageRepository.php',
|
|
),
|
|
'MustacheTemplateEngine' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/MustacheTemplateEngine.php',
|
|
),
|
|
'MySQLiQueryWrapper' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/MySQLiQueryWrapper.php',
|
|
),
|
|
'NativeSessionFlashMessageBag' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/NativeSessionFlashMessageBag.php',
|
|
),
|
|
'NAVDateFormulaManagement' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/NAVDateFormulaManagement.php',
|
|
),
|
|
'NewValidator' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/NewValidator.php',
|
|
),
|
|
'Page' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Page.php',
|
|
),
|
|
'PageCollection' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/PageCollection.php',
|
|
),
|
|
'PageConfig' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/PageConfig.php',
|
|
),
|
|
'PageRepository' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/PageRepository.php',
|
|
),
|
|
'PDOQueryWrapper' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/PDOQueryWrapper.php',
|
|
),
|
|
'Registry' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Registry.php',
|
|
),
|
|
'RememberMeHandlerService' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/RememberMeHandlerService.php',
|
|
),
|
|
'RenderableElementResolver' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/RenderableElementResolver.php',
|
|
),
|
|
'RenderableStringTransformer' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/RenderableStringTransformer.php',
|
|
),
|
|
'SalutationOptions' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SalutationOptions.php',
|
|
),
|
|
'SelectionCriteriaHelper' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SelectionCriteriaHelper.php',
|
|
),
|
|
'ServiceRequestID' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/ServiceRequestID.php',
|
|
),
|
|
'SessionHandlerService' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SessionHandlerService.php',
|
|
),
|
|
'SessionStorage' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SessionStorage.php',
|
|
),
|
|
'Site' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Site.php',
|
|
),
|
|
'SiteCollection' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SiteCollection.php',
|
|
),
|
|
'SiteConfig' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SiteConfig.php',
|
|
),
|
|
'Siteparts' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Siteparts.php',
|
|
),
|
|
'SiteRepository' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/SiteRepository.php',
|
|
),
|
|
'StdMD5PasswordCheckerStrategy' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/StdMD5PasswordCheckerStrategy.php',
|
|
),
|
|
'TemplateDefaultInserter' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/TemplateDefaultInserter.php',
|
|
),
|
|
'TemplateDOMInserter' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/TemplateDOMInserter.php',
|
|
),
|
|
'TemplateInserter' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/TemplateInserter.php',
|
|
),
|
|
'TemplateInserterFactory' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/TemplateInserterFactory.php',
|
|
),
|
|
'TemplateStringInserter' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/TemplateStringInserter.php',
|
|
),
|
|
'Templating' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Templating.php',
|
|
),
|
|
'Translate' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Translate.php',
|
|
),
|
|
'UnitOfWork' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/UnitOfWork.php',
|
|
),
|
|
'UploadedFileTypeCheckingService' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/UploadedFileTypeCheckingService.php',
|
|
),
|
|
'URL' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/URL.php',
|
|
),
|
|
'URLImmutable' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/URLImmutable.php',
|
|
),
|
|
'URLMaker' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/URLMaker.php',
|
|
),
|
|
'Validator' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Validator.php',
|
|
),
|
|
'ViewFactory' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/ViewFactory.php',
|
|
),
|
|
'Visitor' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/Visitor.php',
|
|
),
|
|
'VisitorCollection' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/VisitorCollection.php',
|
|
),
|
|
'VisitorConfig' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/VisitorConfig.php',
|
|
),
|
|
'VisitorRepository' =>
|
|
array (
|
|
0 => '/mysyde/common/classes/VisitorRepository.php',
|
|
),
|
|
'ArrayGettable' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/ArrayGettable.php',
|
|
),
|
|
'UserAuthenticationStrategy' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/AuthStrategy.php',
|
|
),
|
|
'CriteriaHelperInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/CriteriaHelperInterface.php',
|
|
),
|
|
'CRUDObjectStorage' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/CRUDObjectStorage.php',
|
|
),
|
|
'DOMRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/DOMRepositoryListView.php',
|
|
),
|
|
'DOMTemplate' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/DOMTemplate.php',
|
|
),
|
|
'DOMView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/DOMView.php',
|
|
),
|
|
'Entity' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/Entity.php',
|
|
),
|
|
'FlattenedGettable' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/FlattenedGettable.php',
|
|
),
|
|
'GenericDBModelInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/GenericDBModelInterface.php',
|
|
),
|
|
'GenericDBQueryWrapperInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/GenericDBQueryWrapperInterface.php',
|
|
),
|
|
'GenericObjectStorageInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/GenericObjectStorageInterface.php',
|
|
),
|
|
'GenericTemplateInserterInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/GenericTemplateInserterInterface.php',
|
|
),
|
|
'GenericViewInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/GenericViewInterface.php',
|
|
),
|
|
'HashingStrategy' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/HashingStrategy.php',
|
|
),
|
|
'IOCInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/IOCInterface.php',
|
|
),
|
|
'Observer' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/Observer.php',
|
|
),
|
|
'PageableViewInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PageableViewInterface.php',
|
|
),
|
|
'PasswordCheckerInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PasswordCheckerInterface.php',
|
|
),
|
|
'PHTMLRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PHTMLRepositoryListView.php',
|
|
),
|
|
'PHTMLTemplate' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PHTMLTemplate.php',
|
|
),
|
|
'PHTMLView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PHTMLView.php',
|
|
),
|
|
'PlainRepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PlainRepositoryListView.php',
|
|
),
|
|
'PlainTemplate' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PlainTemplate.php',
|
|
),
|
|
'PlainView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/PlainView.php',
|
|
),
|
|
'Repository' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/Repository.php',
|
|
),
|
|
'RepositoryListView' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/RepositoryListView.php',
|
|
),
|
|
'RepositoryUnitOfWorkInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/RepositoryUnitOfWorkInterface.php',
|
|
),
|
|
'ServicePayload' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/ServicePayload.php',
|
|
),
|
|
'SessionFlashMessageBag' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/SessionFlashMessageBag.php',
|
|
),
|
|
'Template' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/Template.php',
|
|
),
|
|
'TemplateEngine' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/TemplateEngine.php',
|
|
),
|
|
'UnitOfWorkInterface' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/UnitOfWorkInterface.php',
|
|
),
|
|
'View' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/View.php',
|
|
),
|
|
'ViewModel' =>
|
|
array (
|
|
0 => '/mysyde/common/interfaces/ViewModel.php',
|
|
),
|
|
'log_mysql' =>
|
|
array (
|
|
0 => '/mysyde/common/logparser/class.log.mysql.php',
|
|
),
|
|
'log_output' =>
|
|
array (
|
|
0 => '/mysyde/common/logparser/class.log.output.php',
|
|
),
|
|
'log' =>
|
|
array (
|
|
0 => '/mysyde/common/logparser/class.log.php',
|
|
),
|
|
'log_processor' =>
|
|
array (
|
|
0 => '/mysyde/common/logparser/class.log.processor.php',
|
|
),
|
|
'B' =>
|
|
array (
|
|
0 => '/mysyde/common/tests/HookTest.php',
|
|
),
|
|
'C' =>
|
|
array (
|
|
0 => '/mysyde/common/tests/HookTest.php',
|
|
),
|
|
'arrayGettableTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/arrayGettableTrait.php',
|
|
),
|
|
'arrayMappableTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/arrayMappableTrait.php',
|
|
),
|
|
'directoryFileWriterTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/directoryFileWriterTrait.php',
|
|
),
|
|
'flattenedGettableTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/flattenedGettableTrait.php',
|
|
),
|
|
'genericCollectionTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericCollectionTrait.php',
|
|
),
|
|
'genericConfigTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericConfigTrait.php',
|
|
),
|
|
'genericDBModelTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericDBModelTrait.php',
|
|
),
|
|
'genericPlainTemplateTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericPlainTemplateTrait.php',
|
|
),
|
|
'genericRepositoryListViewTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericRepositoryListViewTrait.php',
|
|
),
|
|
'genericRepositoryTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericRepositoryTrait.php',
|
|
),
|
|
'genericViewModelTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericViewModelTrait.php',
|
|
),
|
|
'genericViewTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/genericViewTrait.php',
|
|
),
|
|
'hasConfigTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/hasConfigTrait.php',
|
|
),
|
|
'hookableTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/hookableTrait.php',
|
|
),
|
|
'reflectionIDSetter' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/reflectionIDSetter.php',
|
|
),
|
|
'universallyGettableTrait' =>
|
|
array (
|
|
0 => '/mysyde/common/traits/universallyGettableTrait.php',
|
|
),
|
|
'DcAutoloader' =>
|
|
array (
|
|
0 => '/mysyde/DcAutoloader.php',
|
|
),
|
|
'PDORegionalizedTextProvider' =>
|
|
array (
|
|
0 => '/mysyde/regionalization/PDORegionalizedTextProvider.php',
|
|
),
|
|
'PHPFileRegionalizedTextProvider' =>
|
|
array (
|
|
0 => '/mysyde/regionalization/PHPFileRegionalizedTextProvider.php',
|
|
),
|
|
'RegionalizedTextProvider' =>
|
|
array (
|
|
0 => '/mysyde/regionalization/RegionalizedTextProvider.php',
|
|
),
|
|
);
|
|
|
|
public function register()
|
|
{
|
|
spl_autoload_register([__NAMESPACE__ . '\\' . __CLASS__,'resolve']);
|
|
}
|
|
|
|
public static function resolve($class)
|
|
{
|
|
if (isset(static::$map[$class])) {
|
|
foreach (static::$map[$class] as $includePath) {
|
|
include(rtrim($_SERVER['DOCUMENT_ROOT'],'/') . $includePath);
|
|
}
|
|
}
|
|
}
|
|
|
|
} |