Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AbstractAddonValueServiceFactory
  • AbstractAddonValueStorage
  • AbstractApiV2Controller
  • AbstractCategoryServiceFactory
  • AbstractCollection
  • AbstractCreateAccountProcess
  • AbstractCustomerFactory
  • AbstractCustomerServiceFactory
  • AbstractFileStorage
  • AbstractHttpContextFactory
  • AbstractHttpViewControllerRegistryFactory
  • AbstractImagesApiV2Controller
  • AbstractInvoiceServiceFactory
  • AbstractJsonSerializer
  • AbstractModuleCenterModule
  • AbstractModuleCenterModuleController
  • AbstractOrderServiceFactory
  • AbstractProductAttributeServiceFactory
  • AbstractProductServiceFactory
  • AbstractSliderServiceFactory
  • AddonValueService
  • AddonValueServiceFactory
  • AddonValueStorageFactory
  • AddressBlock
  • AddressBookService
  • AddressClass
  • AddressesApiV2Controller
  • AddressFormatProvider
  • AddressJsonSerializer
  • AdminFavoritesAjaxController
  • AdminHttpViewController
  • AdminInfoBoxAjaxController
  • AdminLayoutHttpControllerResponse
  • AdminPageHttpControllerResponse
  • AfterbuyAjaxController
  • AfterbuyModuleCenterModule
  • AfterbuyModuleCenterModuleController
  • AmazonAdvPaymentsModuleCenterModuleController
  • Asset
  • AssetCollection
  • AttachmentCollection
  • AttachmentName
  • AttachmentPath
  • AttachmentsApiV2Controller
  • AttachmentsHandler
  • AuthFactory
  • AuthService
  • AuthSettings
  • AuthStrategyCollection
  • BoolType
  • BrickfoxModuleCenterModule
  • BrickfoxModuleCenterModuleController
  • CacheTokenHelper
  • CartController
  • CartDropdownController
  • CartShippingCostsController
  • CategoriesApiV2Controller
  • Category
  • CategoryAddonValueStorage
  • CategoryFactory
  • CategoryIconsApiV2Controller
  • CategoryImagesApiV2Controller
  • CategoryJsonSerializer
  • CategoryListItem
  • CategoryListItemCollection
  • CategoryListItemJsonSerializer
  • CategoryListProvider
  • CategoryListProviderFactory
  • CategoryObjectService
  • CategoryReadService
  • CategoryRepository
  • CategoryRepositoryDeleter
  • CategoryRepositoryReader
  • CategoryRepositoryWriter
  • CategoryServiceFactory
  • CategorySettings
  • CategorySettingsRepository
  • CategorySettingsRepositoryReader
  • CategorySettingsRepositoryWriter
  • CategoryWriteService
  • CheckQuantityController
  • CheckStatusController
  • ClassFinder
  • ColorHelper
  • ContactCollection
  • ContactName
  • ContactType
  • ContentNavigationCollection
  • CookieBarController
  • CountriesApiV2Controller
  • CountryJsonSerializer
  • CountryService
  • CreateAccountProcess
  • CreateGuestController
  • CreateRegistreeController
  • CrossCuttingLoader
  • CurrencyCode
  • Customer
  • CustomerAccountInputValidator
  • CustomerAdditionalAddressInfo
  • CustomerAddonValueStorage
  • CustomerAddress
  • CustomerAddressDeleter
  • CustomerAddressInputValidator
  • CustomerAddressReader
  • CustomerAddressRepository
  • CustomerAddressWriter
  • CustomerB2BStatus
  • CustomerCallNumber
  • CustomerCity
  • CustomerCompany
  • CustomerCountry
  • CustomerCountryIso2
  • CustomerCountryIso3
  • CustomerCountryName
  • CustomerCountryReader
  • CustomerCountryRepository
  • CustomerCountryZone
  • CustomerCountryZoneIsoCode
  • CustomerCountryZoneName
  • CustomerCountryZoneReader
  • CustomerCountryZoneRepository
  • CustomerDateOfBirth
  • CustomerDeleter
  • CustomerEmail
  • CustomerFactory
  • CustomerFirstname
  • CustomerGender
  • CustomerHashedPassword
  • CustomerHouseNumber
  • CustomerInputToCollectionTransformer
  • CustomerInputValidator
  • CustomerInputValidatorSettings
  • CustomerJsonSerializer
  • CustomerLastname
  • CustomerLoginController
  • CustomerMemo
  • CustomerMemoCollection
  • CustomerNumber
  • CustomerPassword
  • CustomerPostcode
  • CustomerReader
  • CustomerReadService
  • CustomerRegistrationInputValidatorService
  • CustomerRepository
  • CustomersApiV2Controller
  • CustomerService
  • CustomerServiceFactory
  • CustomerServiceSettings
  • CustomerStatusHelper
  • CustomerStatusInformation
  • CustomerStatusProvider
  • CustomerStreet
  • CustomerSuburb
  • CustomerVatNumber
  • CustomerWriter
  • CustomerWriteService
  • DashboardController
  • DataTableColumn
  • DataTableColumnCollection
  • DataTableColumnType
  • DataTableHelper
  • DecimalType
  • DefaultApiV2Controller
  • DefaultTemplateSettings
  • DocumentFileStorage
  • DynamicShopMessagesController
  • EditableCollection
  • EditableKeyValueCollection
  • EkomiModuleCenterModule
  • EkomiModuleCenterModuleController
  • Email
  • EmailAddress
  • EmailAttachment
  • EmailCollection
  • EmailContact
  • EmailContent
  • EmailDeleter
  • EmailFactory
  • EmailJsonSerializer
  • EmailParser
  • EmailReader
  • EmailRepository
  • EmailsApiV2Controller
  • EmailsController
  • EmailService
  • EmailStringType
  • EmailSubject
  • EmailWriter
  • EmbeddedModuleController
  • EmptyCurrencyCode
  • EmptyDateTime
  • EmptyLanguageCode
  • EmptyProductImage
  • EnvCategoryServiceSettings
  • EnvInvoiceServiceSettings
  • EnvironmentClassFinderSettings
  • EnvironmentHttpContextFactory
  • EnvironmentHttpViewControllerRegistryFactory
  • EnvProductImageFileStorageSettings
  • EnvSlideImageFileStorageSettings
  • ExistingDirectory
  • ExistingFile
  • ExtraContentController
  • FileDownloadInformation
  • FilenameStringType
  • FilesystemHelper
  • FilterController
  • FindologicModuleCenterModule
  • FindologicModuleCenterModuleController
  • GoogleAdwordConversionModuleCenterModule
  • GoogleAdwordConversionModuleCenterModuleController
  • GXCoreLoader
  • GXCoreLoaderSettings
  • GXEngineOrder
  • GXEngineProduct
  • HeidelpayModuleCenterModuleController
  • HermesModuleCenterModule
  • HermesModuleCenterModuleController
  • HttpApiV2Controller
  • HttpContext
  • HttpContextReader
  • HttpControllerResponse
  • HttpDispatcher
  • HttpResponseProcessor
  • HttpService
  • HttpServiceFactory
  • HttpViewController
  • HttpViewControllerFactory
  • HttpViewControllerRegistry
  • IdCollection
  • IdType
  • IloxxModuleCenterModule
  • IloxxModuleCenterModuleController
  • ImageFileStorage
  • ImageProcessingController
  • ImageRequestController
  • InfoBoxFactory
  • InfoBoxMessage
  • InfoBoxMessageCollection
  • InfoBoxRepository
  • InfoBoxRepositoryDeleter
  • InfoBoxRepositoryReader
  • InfoBoxRepositoryWriter
  • InfoBoxService
  • IntrashipModuleCenterModule
  • IntrashipModuleCenterModuleController
  • IntType
  • InvoiceActions
  • InvoiceArchiveReadService
  • InvoiceArchiveWriteService
  • InvoiceFileEntitler
  • InvoiceInformation
  • InvoiceListGenerator
  • InvoiceListItem
  • InvoiceListItemCollection
  • InvoiceRepository
  • InvoiceServiceFactory
  • InvoicesModalsAjaxController
  • InvoicesOverviewAjaxController
  • InvoicesOverviewColumns
  • InvoicesOverviewController
  • InvoicesOverviewTooltips
  • ItRechtModuleCenterModule
  • ItRechtModuleCenterModuleController
  • JanolawModuleCenterModule
  • JanolawModuleCenterModuleController
  • JsConfigurationController
  • JSEngineConfiguration
  • JsonHttpControllerResponse
  • JsTranslationsController
  • KeyValueCollection
  • KlarnaModuleCenterModuleController
  • LanguageCode
  • LanguageHelper
  • LanguageProvider
  • LawsController
  • LegacyProductImageProcessing
  • LettrModuleCenterModule
  • LettrModuleCenterModuleController
  • LiveSearchController
  • MagnalisterModuleCenterModule
  • MagnalisterModuleCenterModuleController
  • MailbeezModuleCenterModule
  • MailbeezModuleCenterModuleController
  • MailerAdapter
  • MaxFileSizeController
  • Md5Strategy
  • MediafinanzModuleCenterModule
  • MediafinanzModuleCenterModuleController
  • ModuleCenterController
  • ModuleCenterModuleCollection
  • NewAttributesController
  • NewsletterLinkModuleCenterModule
  • NewsletterLinkModuleCenterModuleController
  • NonEmptyStringType
  • OldOrderOverviewModuleCenterModule
  • OldOrderOverviewModuleCenterModuleController
  • OrderActions
  • OrderAddonValueStorage
  • OrderAddressBlock
  • OrderFactory
  • OrderItem
  • OrderItemAddonValueStorage
  • OrderItemAttribute
  • OrderItemAttributeCollection
  • OrderItemAttributeFactory
  • OrderItemAttributeRepository
  • OrderItemAttributeRepositoryDeleter
  • OrderItemAttributeRepositoryFactory
  • OrderItemAttributeRepositoryReader
  • OrderItemAttributeRepositoryWriter
  • OrderItemCollection
  • OrderItemDownloadInformation
  • OrderItemDownloadInformationCollection
  • OrderItemFactory
  • OrderItemProperty
  • OrderItemPropertyFactory
  • OrderItemPropertyRepository
  • OrderItemPropertyRepositoryDeleter
  • OrderItemPropertyRepositoryReader
  • OrderItemPropertyRepositoryWriter
  • OrderItemRepository
  • OrderItemRepositoryDeleter
  • OrderItemRepositoryReader
  • OrderItemRepositoryWriter
  • OrderJsonSerializer
  • OrderListGenerator
  • OrderListItem
  • OrderListItemCollection
  • OrderListItemJsonSerializer
  • OrderObjectService
  • OrderPaymentType
  • OrderReadService
  • OrderRepository
  • OrderRepositoryDeleter
  • OrderRepositoryReader
  • OrderRepositoryWriter
  • OrdersApiV2Controller
  • OrderServiceFactory
  • OrderServiceSettings
  • OrderShippingType
  • OrdersHistoryApiV2Controller
  • OrdersItemsApiV2Controller
  • OrdersItemsAttributesApiV2Controller
  • OrdersModalsAjaxController
  • OrdersOverviewAjaxController
  • OrdersOverviewColumns
  • OrdersOverviewController
  • OrdersOverviewTooltips
  • OrderStatusHistoryListItem
  • OrderStatusHistoryListItemCollection
  • OrderStatusHistoryStorage
  • OrderStatusStyles
  • OrdersTotalsApiV2Controller
  • OrderTooltipController
  • OrderTotal
  • OrderTotalCollection
  • OrderTotalFactory
  • OrderTotalRepository
  • OrderTotalRepositoryDeleter
  • OrderTotalRepositoryReader
  • OrderTotalRepositoryWriter
  • OrderTrackingInformationCollection
  • OrderWriteService
  • PackedDownloadController
  • PasswordEncryptionSettings
  • PasswordHashStrategy
  • PathType
  • PayOneModuleCenterModuleController
  • PayPalConfigurationController
  • PayPalController
  • PaypalNGModuleCenterModuleController
  • PostfinderModuleCenterModule
  • PostfinderModuleCenterModuleController
  • Precheck
  • ProductAddonValueStorage
  • ProductAttribute
  • ProductAttributeCollection
  • ProductAttributeFactory
  • ProductAttributeObjectService
  • ProductAttributeRepository
  • ProductAttributeRepositoryDeleter
  • ProductAttributeRepositoryReader
  • ProductAttributeRepositoryWriter
  • ProductAttributeService
  • ProductAttributeServiceFactory
  • ProductAttributesModuleCenterModule
  • ProductAttributesModuleCenterModuleController
  • ProductCategoryLinker
  • ProductFactory
  • ProductImage
  • ProductImageCollection
  • ProductImageContainer
  • ProductImageContainerRepository
  • ProductImageFileStorage
  • ProductImagesApiV2Controller
  • ProductJsonSerializer
  • ProductListItem
  • ProductListItemCollection
  • ProductListItemJsonSerializer
  • ProductListProvider
  • ProductListProviderFactory
  • ProductObjectService
  • ProductPermissionSetter
  • ProductQuestionController
  • ProductReadService
  • ProductRepository
  • ProductRepositoryDeleter
  • ProductRepositoryReader
  • ProductRepositoryWriter
  • ProductsApiV2Controller
  • ProductServiceFactory
  • ProductSettings
  • ProductSettingsRepository
  • ProductSettingsRepositoryReader
  • ProductSettingsRepositoryWriter
  • ProductsLinksApiV2Controller
  • ProductWriteService
  • ProtectedShopsModuleCenterModule
  • ProtectedShopsModuleCenterModuleController
  • RedirectHttpControllerResponse
  • SessionTimeoutAjaxController
  • SharedShoppingCartConfigurationController
  • SharedShoppingCartController
  • SharedShoppingCartDeleter
  • SharedShoppingCartModuleCenterModule
  • SharedShoppingCartModuleCenterModuleController
  • SharedShoppingCartReader
  • SharedShoppingCartRepository
  • SharedShoppingCartService
  • SharedShoppingCartSettings
  • SharedShoppingCartWriter
  • ShipcloudController
  • ShipcloudModuleCenterModule
  • ShipcloudModuleCenterModuleController
  • ShopKeyController
  • Slide
  • SlideCollection
  • SlideImage
  • SlideImageArea
  • SlideImageAreaCollection
  • SlideImageAreaRepository
  • SlideImageAreaRepositoryDeleter
  • SlideImageAreaRepositoryReader
  • SlideImageAreaRepositoryWriter
  • SlideImageCollection
  • SlideImageFileStorage
  • SlideImageRepository
  • SlideImageRepositoryDeleter
  • SlideImageRepositoryReader
  • SlideImageRepositoryWriter
  • Slider
  • SliderAssignmentRepository
  • SliderCollection
  • SlideRepository
  • SlideRepositoryDeleter
  • SlideRepositoryReader
  • SlideRepositoryWriter
  • SliderJsonSerializer
  • SliderReadService
  • SliderRepository
  • SliderRepositoryDeleter
  • SliderRepositoryReader
  • SliderRepositoryWriter
  • SlidersDetailsAjaxController
  • SlidersDetailsController
  • SliderServiceFactory
  • SlidersOverviewAjaxController
  • SlidersOverviewController
  • SliderWriteService
  • StaticCrossCuttingLoader
  • StaticGXCoreLoader
  • StatisticsService
  • StoredCategory
  • StoredOrderItem
  • StoredOrderItemAttribute
  • StoredOrderItemAttributeCollection
  • StoredOrderItemCollection
  • StoredOrderItemProperty
  • StoredOrderTotal
  • StoredOrderTotalCollection
  • StoredProduct
  • StoredProductAttribute
  • StoredProductAttributeCollection
  • StringCollection
  • StringHelper
  • StringType
  • StyleEdit3AuthenticationController
  • TemplateConfigurationController
  • TrustedShopsModuleCenterModule
  • TrustedShopsModuleCenterModuleController
  • UnknownCustomerCountry
  • UploadedFile
  • UrlRewrite
  • UrlRewriteCollection
  • UrlRewriteStorage
  • UserConfigurationController
  • UserConfigurationReader
  • UserConfigurationService
  • UserConfigurationWriter
  • UsernamePasswordCredentials
  • VatNumberValidator
  • WishListController
  • WritableDirectory
  • WritableFile
  • YategoModuleCenterModule
  • YategoModuleCenterModuleController
  • YoochooseModuleCenterModule
  • YoochooseModuleCenterModuleController
  • ZoneJsonSerializer
  • ZonesApiV2Controller

Interfaces

  • AddonValueContainerInterface
  • AddonValueServiceInterface
  • AddonValueStorageFactoryInterface
  • AddressBlockInterface
  • AddressBookServiceInterface
  • AddressClassInterface
  • AddressFormatProviderInterface
  • AdminStatusOnlyInterface
  • AssetCollectionInterface
  • AssetInterface
  • AttachmentCollectionInterface
  • AttachmentNameInterface
  • AttachmentPathInterface
  • AttachmentsHandlerInterface
  • AuthCredentialsInterface
  • AuthFactoryInterface
  • AuthServiceInterface
  • AuthSettingsInterface
  • AuthStrategyInterface
  • CacheTokenHelperInterface
  • CategoryFactoryInterface
  • CategoryInterface
  • CategoryListProviderFactoryInterface
  • CategoryListProviderInterface
  • CategoryObjectServiceInterface
  • CategoryReadServiceInterface
  • CategoryRepositoryDeleterInterface
  • CategoryRepositoryInterface
  • CategoryRepositoryReaderInterface
  • CategoryRepositoryWriterInterface
  • CategoryServiceSettingsInterface
  • CategorySettingsInterface
  • CategorySettingsRepositoryInterface
  • CategorySettingsRepositoryReaderInterface
  • CategorySettingsRepositoryWriterInterface
  • CategoryWriteServiceInterface
  • ClassFinderInterface
  • ClassFinderSettingsInterface
  • ContactCollectionInterface
  • ContactNameInterface
  • ContactTypeInterface
  • ContentNavigationCollectionInterface
  • ContentViewInterface
  • CountryServiceInterface
  • CrossCuttingLoaderInterface
  • CrossCuttingObjectInterface
  • CustomerAccountInputValidatorInterface
  • CustomerAdditionalAddressInfoInterface
  • CustomerAddressDeleterInterface
  • CustomerAddressInputValidatorInterface
  • CustomerAddressInterface
  • CustomerAddressReaderInterface
  • CustomerAddressRepositoryInterface
  • CustomerAddressWriterInterface
  • CustomerB2BStatusInterface
  • CustomerCallNumberInterface
  • CustomerCityInterface
  • CustomerCompanyInterface
  • CustomerCountryInterface
  • CustomerCountryIso2Interface
  • CustomerCountryIso3Interface
  • CustomerCountryNameInterface
  • CustomerCountryReaderInterface
  • CustomerCountryRepositoryInterface
  • CustomerCountryZoneInterface
  • CustomerCountryZoneIsoCodeInterface
  • CustomerCountryZoneNameInterface
  • CustomerCountryZoneReaderInterface
  • CustomerCountryZoneRepositoryInterface
  • CustomerDeleterInterface
  • CustomerEmailInterface
  • CustomerFirstnameInterface
  • CustomerGenderInterface
  • CustomerHouseNumberInterface
  • CustomerInputValidatorInterface
  • CustomerInputValidatorSettingsInterface
  • CustomerInterface
  • CustomerLastnameInterface
  • CustomerNumberInterface
  • CustomerPasswordInterface
  • CustomerPostcodeInterface
  • CustomerReaderInterface
  • CustomerReadServiceInterface
  • CustomerRegistrationInputValidatorServiceInterface
  • CustomerRepositoryInterface
  • CustomerServiceInterface
  • CustomerServiceSettingsInterface
  • CustomerStatusHelperInterface
  • CustomerStatusProviderInterface
  • CustomerStreetInterface
  • CustomerSuburbInterface
  • CustomerVatNumberInterface
  • CustomerWriterInterface
  • CustomerWriteServiceInterface
  • EmailAddressInterface
  • EmailAttachmentInterface
  • EmailCollectionInterface
  • EmailContactInterface
  • EmailContentInterface
  • EmailDeleterInterface
  • EmailFactoryInterface
  • EmailInterface
  • EmailReaderInterface
  • EmailRepositoryInterface
  • EmailServiceInterface
  • EmailSubjectInterface
  • EmailWriterInterface
  • FilesystemHelperInterface
  • GXCoreLoaderInterface
  • GXCoreLoaderSettingsInterface
  • HttpContextInterface
  • HttpContextReaderInterface
  • HttpControllerResponseInterface
  • HttpDispatcherInterface
  • HttpResponseProcessorInterface
  • HttpServiceFactoryInterface
  • HttpServiceInterface
  • HttpViewControllerFactoryInterface
  • HttpViewControllerInterface
  • HttpViewControllerRegistryInterface
  • IdInterface
  • InfoBoxFactoryInterface
  • InfoBoxMessageInterface
  • InfoBoxRepositoryDeleterInterface
  • InfoBoxRepositoryInterface
  • InfoBoxRepositoryReaderInterface
  • InfoBoxRepositoryWriterInterface
  • InfoBoxServiceInterface
  • InvoiceArchiveReadServiceInterface
  • InvoiceArchiveWriteServiceInterface
  • InvoiceFileEntitlerInterface
  • InvoiceListGeneratorInterface
  • InvoiceRepositoryInterface
  • InvoiceServiceSettingsInterface
  • LanguageHelperInterface
  • LanguageProviderInterface
  • MailerAdapterInterface
  • ModuleCenterModuleCollectionInterface
  • ModuleCenterModuleInterface
  • OrderFactoryInterface
  • OrderInterface
  • OrderItemAttributeFactoryInterface
  • OrderItemAttributeInterface
  • OrderItemAttributeRepositoryDeleterInterface
  • OrderItemAttributeRepositoryFactoryInterface
  • OrderItemAttributeRepositoryInterface
  • OrderItemAttributeRepositoryReaderInterface
  • OrderItemAttributeRepositoryWriterInterface
  • OrderItemFactoryInterface
  • OrderItemInterface
  • OrderItemPropertyFactoryInterface
  • OrderItemPropertyRepositoryDeleterInterface
  • OrderItemPropertyRepositoryReaderInterface
  • OrderItemPropertyRepositoryWriterInterface
  • OrderItemRepositoryDeleterInterface
  • OrderItemRepositoryInterface
  • OrderItemRepositoryReaderInterface
  • OrderItemRepositoryWriterInterface
  • OrderListGeneratorInterface
  • OrderObjectServiceInterface
  • OrderPaymentTypeInterface
  • OrderReadServiceInterface
  • OrderRepositoryDeleterInterface
  • OrderRepositoryInterface
  • OrderRepositoryReaderInterface
  • OrderRepositoryWriterInterface
  • OrderServiceSettingsInterface
  • OrderShippingTypeInterface
  • OrderStatusHistoryReaderInterface
  • OrderStatusHistoryWriterInterface
  • OrderTotalFactoryInterface
  • OrderTotalInterface
  • OrderTotalRepositoryDeleterInterface
  • OrderTotalRepositoryInterface
  • OrderTotalRepositoryReaderInterface
  • OrderTotalRepositoryWriterInterface
  • OrderWriteServiceInterface
  • ProductAttributeFactoryInterface
  • ProductAttributeInterface
  • ProductAttributeObjectServiceInterface
  • ProductAttributeRepositoryDeleterInterface
  • ProductAttributeRepositoryInterface
  • ProductAttributeRepositoryReaderInterface
  • ProductAttributeRepositoryWriterInterface
  • ProductAttributeServiceInterface
  • ProductCategoryLinkerInterface
  • ProductFactoryInterface
  • ProductImageContainerInterface
  • ProductImageContainerRepositoryInterface
  • ProductImageInterface
  • ProductImagePathsSettingsInterface
  • ProductImageProcessingInterface
  • ProductInterface
  • ProductListProviderFactoryInterface
  • ProductListProviderInterface
  • ProductObjectServiceInterface
  • ProductPermissionSetterInterface
  • ProductReadServiceInterface
  • ProductRepositoryDeleterInterface
  • ProductRepositoryInterface
  • ProductRepositoryReaderInterface
  • ProductRepositoryWriterInterface
  • ProductSettingsInterface
  • ProductSettingsRepositoryInterface
  • ProductSettingsRepositoryReaderInterface
  • ProductSettingsRepositoryWriterInterface
  • ProductWriteServiceInterface
  • SerializerInterface
  • SharedShoppingCartDeleterInterface
  • SharedShoppingCartReaderInterface
  • SharedShoppingCartRepositoryInterface
  • SharedShoppingCartServiceInterface
  • SharedShoppingCartSettingsInterface
  • SharedShoppingCartWriterInterface
  • SlideImageAreaInterface
  • SlideImageAreaRepositoryDeleterInterface
  • SlideImageAreaRepositoryInterface
  • SlideImageAreaRepositoryReaderInterface
  • SlideImageAreaRepositoryWriterInterface
  • SlideImageInterface
  • SlideImagePathsSettingsInterface
  • SlideImageRepositoryDeleterInterface
  • SlideImageRepositoryInterface
  • SlideImageRepositoryReaderInterface
  • SlideImageRepositoryWriterInterface
  • SlideInterface
  • SliderAssignmentRepositoryInterface
  • SlideRepositoryDeleterInterface
  • SlideRepositoryInterface
  • SlideRepositoryReaderInterface
  • SlideRepositoryWriterInterface
  • SliderInterface
  • SliderReadServiceInterface
  • SliderRepositoryDeleterInterface
  • SliderRepositoryInterface
  • SliderRepositoryReaderInterface
  • SliderRepositoryWriterInterface
  • SliderWriteServiceInterface
  • StatisticsServiceInterface
  • StoredCategoryInterface
  • StoredOrderItemAttributeInterface
  • StoredOrderItemInterface
  • StoredOrderTotalInterface
  • StoredProductAttributeInterface
  • StoredProductInterface
  • StringHelperInterface
  • UrlKeywordsRepairerInterface
  • UserConfigurationReaderInterface
  • UserConfigurationServiceInterface
  • UserConfigurationWriterInterface
  • VatNumberValidatorInterface

Exceptions

  • AjaxException
  • AttachmentNotFoundException
  • FileNotFoundException
  • HttpApiV2Exception
  • InvalidCustomerDataException
  • MissingControllerNameException
  • UnknownEnvironmentException
  1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 
<?php
/* --------------------------------------------------------------
   Precheck.php 2016-12-02
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2016 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

/**
 * Class Precheck
 *
 * @category System
 * @package  Precheck
 */
class Precheck
{
    /**
     * Minimum PHP version required.
     * @var string
     */
    protected $minPhpVersion = '';
    
    /**
     * Maximum PHP version required.
     * @var string
     */
    protected $maxPhpVersion = '';
    
    /**
     * Minimum MySQL version required.
     * @var string
     */
    protected $minMysqlVersion = '';
    
    /**
     * Minimum MySQL version required.
     * @var string
     */
    protected $maxMysqlVersion = '';
    
    /**
     * Collection of globs to find dangerous tools
     * like 'adminer' or 'dumper'.
     * @var array
     */
    protected $dangerousToolsGlobs;
    
    /**
     * Database query builder.
     * @var CI_DB_query_builder
     */
    protected $db;

    /**
     * Collection of variables used.
     * @var KeyValueCollection
     */
    protected $settings;
    
    /**
     * Found configuration values.
     * @var KeyValueCollection
     */
    protected $configuration;
    
    /**
     * Found shop version.
     * @var string
     */
    protected $shopVersion = '';

    /**
     * Array of known languages (mostly the default installed ones).
     * @var array
     */
    protected $defaultLanguages;

    /**
     * Glob search pattern for usermods.
     * @var string
     */
    protected $usermodGlobPattern;


    /**
     * Precheck constructor.
     *
     * @param CI_DB_query_builder $db       Database query builder.
     * @param KeyValueCollection  $settings Settings key value collection (see #_checkSettings).
     */
    public function __construct(CI_DB_query_builder $db, KeyValueCollection $settings)
    {
        // Set database driver.
        $this->db = $db;

        // Check and set some configure.php values.
        $this->_checkSettings($settings);
        $this->settings = $settings;

        // Set minimum and maximum PHP versions required.
        $this->minPhpVersion = '5.4';
        $this->maxPhpVersion = '5.6.999';

        // Set minimum and maximum MySQL versions required.
        $this->minMysqlVersion = '5.0';
        $this->maxMysqlVersion = '5.9';

        // Set dangerous tools.
        $this->dangerousToolsGlobs = [
            '*MyAdmin*',
            '*NewAdmin*',
            '*phpm*',
            '*msd*',
            '*dumper*',
            'mybackup*',
            '*admin_access*',
            '*adminer*',
            '__*'
        ];

        // Set known languages.
        $this->defaultLanguages = array('de', 'en');

        // Set configuration values.
        $this->configuration = $this->_getConfigurationValues();

        // Set usermod glob search pattern.
        $this->usermodGlobPattern = '*-USERMOD.*';
    }


    /**
     * Verifies that the settings collection parameter contains all necessary entries.
     *
     * Needed keys are:
     *  - shopVersion (Current shop version - coming from release info)
     *  - DIR_FS_CATALOG (Value from configure.php)
     *  - HTTP_SERVER (Value from configure.php)
     *  - DIR_WS_CATALOG (Value from configure.php)
     *
     * @throws InvalidArgumentException On missing key.
     *
     * @param KeyValueCollection $settings
     *
     * @protected
     */
    protected function _checkSettings(KeyValueCollection $settings)
    {
        $neededKeys = array('shopVersion', 'DIR_FS_CATALOG', 'HTTP_SERVER', 'DIR_WS_CATALOG');

        foreach($neededKeys as $key)
        {
            if(!$settings->keyExists($key))
            {
                throw new InvalidArgumentException('Missing setting ' . $key);
            }
        }
    }


    /**
     * Loads the configuration from the database and returns it as collection.
     * @return KeyValueCollection
     * @protected
     */
    protected function _getConfigurationValues()
    {
        $configurationValues = array();
        
        $dbTableName = 'configuration';
        $dbQuery     = $this->db->get($dbTableName);
        
        foreach($dbQuery->result_array() as $row)
        {
            $key   = $row['configuration_key'];
            $value = $row['configuration_value'];
            
            $configurationValues[$key] = $value;
        }
        
        $collection = new KeyValueCollection($configurationValues);
        
        return $collection;
    }


    /**
     * Performs a recursive glob search.
     *
     * @param string $pattern Glob search pattern.
     * @param int    $flags   Glob search flags.
     *
     * @return array
     * @protected
     */
    protected function _recursiveGlobSearch($pattern, $flags = 0)
    {
        $files = glob($pattern, $flags);
        
        if(is_array($files))
        {
            $dirs = glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT);
            
            if(is_array($dirs))
            {
                foreach($dirs as $dir)
                {
                    $files = array_merge($files, $this->_recursiveGlobSearch($dir . '/' . basename($pattern), $flags));
                }
            }
        }
        else
        {
            $files = array();
        }
        
        return $files;
    }


    /**
     * Determines if the foreign module Orgamax is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleOrgamax()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'orgamax') || file_exists($shopRootDir . 'Orgamax')
                       || file_exists($shopRootDir . 'orga');

        return $condition;
    }


    /**
     * Determines if the foreign module PDF Katalog (Estelco) is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleEstelcoPdfCatalog()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'admin/pdf_config.php')
                       && file_exists($shopRootDir . 'admin/pdf_export.php');

        return $condition;
    }


    /**
     * Determines if the foreign module JTL Wawi Connector is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleJtlWawiConnector()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'admin/includes/modules/jtlwawi_connector')
                       && is_dir($shopRootDir . 'admin/includes/modules/jtlwawi_connector');

        return $condition;
    }


    /**
     * Determines if the foreign module Cateno Shopsync is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleCatenoShopsync()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'shopsync') && is_dir($shopRootDir . 'shopsync');

        return $condition;
    }


    /**
     * Determines if the foreign module Open Cart (Offene Warenkörbe) is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleOpenCart()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'GXUserComponents/conf/admin_menu/menu_wko.xml');

        return $condition;
    }


    /**
     * Determines if the foreign module Blog (Indiv Style) is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleIndivStyleBlog()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'GXUserComponents/conf/admin_menu/menu_blog.xml');

        return $condition;
    }


    /**
     * Determines if the foreign module Gratisartikel (Indiv Style) - Free products is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleIndivStyleFreeProducts()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'GXUserComponents/conf/admin_menu/menu_gratis.xml');

        return $condition;
    }


    /**
     * Determines if the foreign module Offene Warenkörbe (Indiv Style) - Open cart is installed.
     * @return bool
     * @protected
     */
    protected function _hasForeignModuleIndivStyleOpenCart()
    {
        $shopRootDir = $this->settings->getValue('DIR_FS_CATALOG');
        $condition   = file_exists($shopRootDir . 'GXUserComponents/conf/admin_menu/menu_owk.xml');

        return $condition;
    }


    /**
     * Returns the shop's URL.
     * @return string
     */
    public function getShopUrl()
    {
        $shopUrl = $this->settings->getValue('HTTP_SERVER') . $this->settings->getValue('DIR_WS_CATALOG');
        
        return $shopUrl;
    }
    
    
    /**
     * Returns the installed shop version.
     * @return string
     */
    public function getShopVersion()
    {
        $version = $this->settings->getValue('shopVersion');

        return $version;
    }
    
    
    /**
     * Returns the server address.
     * @return string
     */
    public function getServerAddress()
    {
        $serverAddress = $_SERVER['SERVER_ADDR'];
        
        return $serverAddress;
    }
    

    /**
     * Returns the server's operating system.
     * @return string
     */
    public function getServerOs()
    {
        $os = PHP_OS;

        return $os;
    }


    /**
     * Returns the running PHP version number.
     * @return string
     */
    public function getPhpVersion()
    {
        $phpVersion = PHP_VERSION;

        return $phpVersion;
    }


    /**
     * Returns the running MySQL version number.
     * @return string
     */
    public function getMysqlVersion()
    {
        $mysqlVersion = $this->db->version();

        return $mysqlVersion;
    }
    

    /**
     * Determines if cUrl is available on this platform.
     * @return bool
     */
    public function isCurlEnabled()
    {
        $isCallableCurlInit = is_callable('curl_init');

        return $isCallableCurlInit;
    }


    /**
     * Returns the name of the currently used template.
     * @return string
     */
    public function getActiveTemplate()
    {
        $configKey      = 'CURRENT_TEMPLATE';
        $activeTemplate = $this->configuration->getValue($configKey);

        return $activeTemplate;
    }


    /**
     * Returns an array of additional installed templates (template name).
     * @return array
     */
    public function getAdditionalTemplates()
    {
        $additionalTemplates = array();

        $globPattern     = $this->settings->getValue('DIR_FS_CATALOG') . 'templates/*';
        $templateFolders = glob($globPattern, GLOB_ONLYDIR | GLOB_NOSORT);
        
        if(is_array($templateFolders))
        {
            foreach($templateFolders as $templateFolder)
            {
                $templateName = basename($templateFolder);
                
                if($templateName !== $this->getActiveTemplate())
                {
                    $additionalTemplates[] = $templateName;
                }
            }
        }

        return $additionalTemplates;
    }


    /**
     * Returns an array of usermods found.
     * @return array
     */
    public function getUsermods()
    {
        $shopRootPath  = $this->settings->getValue('DIR_FS_CATALOG');
        $foundUsermods = array();
        $searchPaths   = array(
            // Admin HTML usermods search path.
            $shopRootPath . 'admin/html/',

            // Admin JavaScript usermods search path.
            $shopRootPath . 'admin/javascript/',

            // Shop JavaScript usermods search path.
            $shopRootPath . 'gm/javascript/',

            // Template usermods search path.
            $shopRootPath . 'templates/' . $this->getActiveTemplate() . '/'
        );

        foreach($searchPaths as $path)
        {
            if(file_exists($path))
            {
                $foundFiles = $this->_recursiveGlobSearch($path . $this->usermodGlobPattern);

                if(count($foundFiles) > 0)
                {
                    foreach($foundFiles as $file)
                    {
                        $foundUsermods[] = substr($file, strlen($shopRootPath));
                    }
                }
            }
        }

        return $foundUsermods;
    }


    /**
     * Determines if the MobileCandy template is installed.
     * @return bool
     */
    public function isInstalledMobileCandy()
    {
        $searchedTemplate    = 'MobileCandy';
        $currentTemplate     = $this->getActiveTemplate();
        $additionalTemplates = $this->getAdditionalTemplates();

        $isInstalled = $searchedTemplate === $currentTemplate || in_array($searchedTemplate, $additionalTemplates);

        return $isInstalled;
    }


    /**
     * Returns an array of MobileCandy usermods found.
     * @return array
     */
    public function getMobileCandyUsermods()
    {
        $foundUsermods = array();
        $shopRootPath  = $this->settings->getValue('DIR_FS_CATALOG');
        $searchPath    = $shopRootPath . 'templates/MobileCandy/';

        if($this->isInstalledMobileCandy())
        {
            $foundFiles = $this->_recursiveGlobSearch($searchPath . $this->usermodGlobPattern);

            if(count($foundFiles) > 0)
            {
                foreach($foundFiles as $file)
                {
                    $foundUsermods[] = substr($file, strlen($shopRootPath));
                }
            }
        }

        return $foundUsermods;
    }


    /**
     * Determines if there is a global usermod directory.
     * @return bool
     */
    public function hasGlobalUsermodDir()
    {
        $directoryPath = $this->settings->getValue('DIR_FS_CATALOG') . 'USERMOD';
        $hasDir        = file_exists($directoryPath);

        return $hasDir;
    }


    /**
     * Returns an array of custom user components.
     * @return array
     */
    public function getUserComponents()
    {
        $shopRootPath        = $this->settings->getValue('DIR_FS_CATALOG');
        $userComponentsPath  = $shopRootPath . 'GXUserComponents/';
        $globSearchPattern   = '*.*';
        $foundUserComponents = array();
        $excludes            = array('index.html', '_samples', '.gitignore');
        $excludeRegexString  = '/(' . implode('|', $excludes) . ')/i';

        $foundFiles = $this->_recursiveGlobSearch($userComponentsPath . $globSearchPattern);

        foreach($foundFiles as $path)
        {
            if(!preg_match($excludeRegexString, $path))
            {
                $foundUserComponents[] = substr($path, strlen($shopRootPath));
            }
        }

        return $foundUserComponents;
    }


    /**
     * Returns an array of foreign installed payment modules.
     *
     * @param array $defaultModules          List of default payment modules (note, that a file path has to be
     *                                       relative to the payment directory).
     *
     * @throws InvalidArgumentException On empty array.
     * @return array
     */
    public function getForeignPaymentModules(array $defaultModules)
    {
        $directory             = $this->settings->getValue('DIR_FS_CATALOG') . 'includes/modules/payment/';
        $globPattern           = '*.*';
        $modules               = array();
        $foundInstalledModules = $this->_recursiveGlobSearch($directory . $globPattern);

        foreach($foundInstalledModules as $file)
        {
            $modules[] = str_replace($directory, '', $file);
        }

        foreach($defaultModules as $file)
        {
            if(in_array(trim($file), $modules))
            {
                $index = array_search(trim($file), $modules);
                unset($modules[$index]);
            }
        }

        return $modules;
    }


    /**
     * Returns an array of foreign installed shipping modules.
     *
     * @param array $defaultModules          List of default shipping modules (note, that a file path has to be
     *                                       relative to the shipping directory).
     *
     * @throws InvalidArgumentException On empty array.
     * @return array
     */
    public function getForeignShippingModules(array $defaultModules)
    {
        $directory             = $this->settings->getValue('DIR_FS_CATALOG') . 'includes/modules/shipping/';
        $globPattern           = '*.*';
        $modules               = array();
        $foundInstalledModules = $this->_recursiveGlobSearch($directory . $globPattern);

        foreach($foundInstalledModules as $file)
        {
            $modules[] = str_replace($directory, '', $file);
        }

        foreach($defaultModules as $file)
        {
            if(in_array(trim($file), $modules))
            {
                $index = array_search(trim($file), $modules);
                unset($modules[$index]);
            }
        }

        return $modules;
    }


    /**
     * Returns an array of foreign installed order total modules.
     *
     * @param array $defaultModules          List of default order total modules (note, that a file path has to be
     *                                       relative to the order_total directory).
     *
     * @throws InvalidArgumentException On empty array.
     * @return array
     */
    public function getForeignOrderTotalModules(array $defaultModules)
    {
        $directory             = $this->settings->getValue('DIR_FS_CATALOG') . 'includes/modules/order_total/';
        $globPattern           = '*.*';
        $modules               = array();
        $foundInstalledModules = $this->_recursiveGlobSearch($directory . $globPattern);

        foreach($foundInstalledModules as $file)
        {
            $modules[] = str_replace($directory, '', $file);
        }

        foreach($defaultModules as $file)
        {
            if(in_array(trim($file), $modules))
            {
                $index = array_search(trim($file), $modules);
                unset($modules[$index]);
            }
        }

        return $modules;
    }


    /**
     * Returns the installed foreign languages.
     *
     * @return array
     */
    public function getForeignModules()
    {
        $installedForeignModuleNames = array();

        if($this->_hasForeignModuleOrgamax())
        {
            $installedForeignModuleNames[] = 'Orgamax';
        }

        if($this->_hasForeignModuleEstelcoPdfCatalog())
        {
            $installedForeignModuleNames[] = 'PDF Katalog (Estelco)';
        }

        if($this->_hasForeignModuleJtlWawiConnector())
        {
            $installedForeignModuleNames[] = 'JTL Wawi Connector';
        }

        if($this->_hasForeignModuleCatenoShopsync())
        {
            $installedForeignModuleNames[] = 'Cateno Shopsync';
        }

        if($this->_hasForeignModuleOpenCart())
        {
            $installedForeignModuleNames[] = 'Offene Warenkörbe';
        }

        if($this->_hasForeignModuleIndivStyleBlog())
        {
            $installedForeignModuleNames[] = 'Blog (Indiv Style)';
        }

        if($this->_hasForeignModuleIndivStyleFreeProducts())
        {
            $installedForeignModuleNames[] = 'Gratisartikel (Indiv Style)';
        }
        if($this->_hasForeignModuleIndivStyleOpenCart())
        {
            $installedForeignModuleNames[] = 'Offene Warenkörbe (Indiv Style)';
        }

        return $installedForeignModuleNames;
    }


    /**
     * Returns the installed foreign languages.
     *
     * @return array
     */
    public function getForeignLanguages()
    {
        $difference = array();
        $languages  = '"' . implode('","', $this->defaultLanguages) . '"';
        $dbQuery    = $this->db->query('SELECT code FROM languages WHERE code NOT IN (' . $languages . ')');
        
        foreach($dbQuery->result_array() as $row)
        {
            $difference[] = $row['code'];
        }

        return $difference;
    }


    /**
     * Returns an array with dangerous tools installed.
     * @return array
     */
    public function getDangerousTools()
    {
        $foundTools   = array();
        $shopRootPath = $this->settings->getValue('DIR_FS_CATALOG');

        foreach($this->dangerousToolsGlobs as $toolsGlob)
        {
            $files = glob($shopRootPath . $toolsGlob);
            
            if(is_array($files) && count($files) > 0)
            {
                foreach($files as $file)
                {
                    $foundTools[] = substr($file, strlen($shopRootPath));
                }
            }
        }

        return $foundTools;
    }


    /**
     * Determines if the installed PHP version is above the minimum version required.
     * If true, the result is positive.
     * @return bool
     */
    public function isPhpVersionAboveMinimum()
    {
        $isAboveMinimum = version_compare($this->getPhpVersion(), $this->minPhpVersion, '>=');

        return $isAboveMinimum;
    }


    /**
     * Determines if the installed PHP version is below the maximum version required.
     * If true, the result is positive.
     * @return bool
     */
    public function isPhpVersionBelowMaximum()
    {
        $isBelowMaximum = version_compare($this->getPhpVersion(), $this->maxPhpVersion, '<=');

        return $isBelowMaximum;
    }


    /**
     * Determines if the server is running on windows operating system.
     * @return bool
     */
    public function isUsingWindowsOs()
    {
        $windowsOsIndicator  = 'WIN';
        $uppercasedOsInfo    = strtoupper($this->getServerOs());
        $cutUppercasedOsInfo = substr($uppercasedOsInfo, 0, 3);

        $isUsingWindows = $cutUppercasedOsInfo === $windowsOsIndicator;

        return $isUsingWindows;
    }


    /**
     * Determines if the installed MySQL version is above the minimum version required.
     * If true, the result is positive.
     * @return boolean
     */
    public function isMySqlVersionAboveMinimum()
    {
        $isAboveMinimum = version_compare($this->getMysqlVersion(), $this->minMysqlVersion, '>=');

        return $isAboveMinimum;
    }


    /**
     * Determines if the installed MySQL version is below the maximum version required.
     * If true, the result is positive.
     * @return bool
     */
    public function isMySqlVersionBelowMaximum()
    {
        $isBelowMaximum = version_compare($this->getMysqlVersion(), $this->maxMysqlVersion, '<=');

        return $isBelowMaximum;
    }

}
API documentation generated by ApiGen