Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • 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
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • 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
  • 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
  • AddonValueService
  • AddonValueServiceFactory
  • AddonValueStorageFactory
  • AddressBlock
  • AddressBookService
  • AddressClass
  • AddressesApiV2Controller
  • AddressFormatProvider
  • AddressJsonSerializer
  • AdminFavoritesAjaxController
  • AdminHttpViewController
  • AdminInfoBoxAjaxController
  • AdminLayoutHttpControllerResponse
  • AdminPageHttpControllerResponse
  • AffiliPrintModuleCenterModule
  • AffiliPrintModuleCenterModuleController
  • AfterbuyAjaxController
  • AfterbuyModuleCenterModule
  • AfterbuyModuleCenterModuleController
  • AmazonAdvPaymentsModuleCenterModuleController
  • Asset
  • AssetCollection
  • AttachmentCollection
  • AttachmentName
  • AttachmentPath
  • AttachmentsApiV2Controller
  • AttachmentsHandler
  • 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
  • CustomerHouseNumber
  • CustomerInputToCollectionTransformer
  • CustomerInputValidator
  • CustomerInputValidatorSettings
  • CustomerJsonSerializer
  • CustomerLastname
  • 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
  • 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
  • EnvironmentClassFinderSettings
  • EnvironmentHttpContextFactory
  • EnvironmentHttpViewControllerRegistryFactory
  • EnvProductImageFileStorageSettings
  • 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
  • Id
  • IdCollection
  • IdType
  • IloxxModuleCenterModule
  • IloxxModuleCenterModuleController
  • ImageFileStorage
  • ImageProcessingController
  • ImageRequestController
  • InfoBoxDeleter
  • InfoBoxMessage
  • InfoBoxMessageCollection
  • InfoBoxReader
  • InfoBoxService
  • InfoBoxWriter
  • IntrashipModuleCenterModule
  • IntrashipModuleCenterModuleController
  • IntType
  • InvoiceArchiveReadService
  • InvoiceArchiveWriteService
  • InvoiceFileEntitler
  • InvoiceFileFinder
  • InvoiceInformation
  • InvoiceListGenerator
  • InvoiceListItem
  • InvoiceListItemCollection
  • InvoicesController
  • InvoiceServiceFactory
  • InvoiceStorage
  • ItRechtModuleCenterModule
  • ItRechtModuleCenterModuleController
  • JanolawModuleCenterModule
  • JanolawModuleCenterModuleController
  • JSEngineConfiguration
  • JsonHttpControllerResponse
  • JsTranslationsController
  • KeyValueCollection
  • KlarnaModuleCenterModuleController
  • LanguageCode
  • LanguageHelper
  • LanguageProvider
  • LawsController
  • LegacyProductImageProcessing
  • LettrModuleCenterModule
  • LettrModuleCenterModuleController
  • LiveSearchController
  • MagnalisterModuleCenterModule
  • MagnalisterModuleCenterModuleController
  • MailbeezModuleCenterModule
  • MailbeezModuleCenterModuleController
  • MailerAdapter
  • MaxFileSizeController
  • 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
  • PayOneModuleCenterModuleController
  • PayPalConfigurationController
  • PayPalController
  • PaypalNGModuleCenterModuleController
  • PostfinderModuleCenterModule
  • PostfinderModuleCenterModuleController
  • 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
  • SharedShoppingCartConfigurationController
  • SharedShoppingCartController
  • SharedShoppingCartDeleter
  • SharedShoppingCartModuleCenterModule
  • SharedShoppingCartModuleCenterModuleController
  • SharedShoppingCartReader
  • SharedShoppingCartRepository
  • SharedShoppingCartService
  • SharedShoppingCartSettings
  • SharedShoppingCartWriter
  • ShipcloudController
  • ShipcloudModuleCenterModule
  • ShipcloudModuleCenterModuleController
  • ShopKeyController
  • 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
  • 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
  • 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
  • InfoBoxDeleterInterface
  • InfoBoxMessageInterface
  • InfoBoxReaderInterface
  • InfoBoxServiceInterface
  • InfoBoxWriterInterface
  • InvoiceArchiveReadServiceInterface
  • InvoiceArchiveWriteServiceInterface
  • InvoiceFileEntitlerInterface
  • InvoiceFileFinderInterface
  • InvoiceListGeneratorInterface
  • InvoiceStorageInterface
  • 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
  • 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 
<?php

/* --------------------------------------------------------------
   LawsController.inc.php 2016-04-01
   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]
   --------------------------------------------------------------
*/

MainFactory::load_class('AdminHttpViewController');

/**
 * Class LawsController
 *
 * @category System
 * @package  AdminHttpViewControllers
 */
class LawsController extends AdminHttpViewController
{
    /**
     * Save Law Preferences
     *
     * This is a post callback that will need to store the data and then redirect back to the "Rights" page.
     */
    public function actionSaveLawPreferences()
    {
        $this->_validatePageToken();
        
        if($_POST['GM_CHECK_PRIVACY_CALLBACK'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_CALLBACK', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_CALLBACK', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_GUESTBOOK'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_GUESTBOOK', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_GUESTBOOK', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_CONTACT'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_CONTACT', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_CONTACT', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_TELL_A_FRIEND'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_TELL_A_FRIEND', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_TELL_A_FRIEND', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_FOUND_CHEAPER'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_FOUND_CHEAPER', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_FOUND_CHEAPER', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_REVIEWS'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_REVIEWS', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_REVIEWS', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_ACCOUNT_CONTACT'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_CONTACT', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_CONTACT', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_ACCOUNT_ADDRESS_BOOK'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_ADDRESS_BOOK', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_ADDRESS_BOOK', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_ACCOUNT_NEWSLETTER'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_NEWSLETTER', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_ACCOUNT_NEWSLETTER', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_CHECKOUT_SHIPPING'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_CHECKOUT_SHIPPING', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_CHECKOUT_SHIPPING', 0);
        }
        
        if($_POST['GM_CHECK_PRIVACY_CHECKOUT_PAYMENT'] == 1)
        {
            gm_set_conf('GM_CHECK_PRIVACY_CHECKOUT_PAYMENT', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_PRIVACY_CHECKOUT_PAYMENT', 0);
        }
        
        if($_POST['GM_WITHDRAWAL_CONTENT_ID'])
        {
            gm_set_conf('GM_WITHDRAWAL_CONTENT_ID', $_POST['GM_WITHDRAWAL_CONTENT_ID']);
        }
        
        if($_POST['GM_SHOW_PRIVACY_REGISTRATION'] == 1)
        {
            gm_set_conf('GM_SHOW_PRIVACY_REGISTRATION', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_PRIVACY_REGISTRATION', 0);
        }
        
        if($_POST['GM_CHECK_WITHDRAWAL'] == 1)
        {
            gm_set_conf('GM_CHECK_WITHDRAWAL', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_WITHDRAWAL', 0);
        }
        
        if($_POST['GM_SHOW_WITHDRAWAL'] == 1)
        {
            gm_set_conf('GM_SHOW_WITHDRAWAL', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_WITHDRAWAL', 0);
        }
        
        if($_POST['SHOW_ACCOUNT_WITHDRAWAL_LINK'] == 1)
        {
            gm_set_conf('SHOW_ACCOUNT_WITHDRAWAL_LINK', 1);
        }
        else
        {
            gm_set_conf('SHOW_ACCOUNT_WITHDRAWAL_LINK', 0);
        }
        
        if($_POST['ATTACH_CONDITIONS_OF_USE_IN_ORDER_CONFIRMATION'] == 1)
        {
            gm_set_conf('ATTACH_CONDITIONS_OF_USE_IN_ORDER_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('ATTACH_CONDITIONS_OF_USE_IN_ORDER_CONFIRMATION', 0);
        }
        
        if($_POST['ATTACH_WITHDRAWAL_INFO_IN_ORDER_CONFIRMATION'] == 1)
        {
            gm_set_conf('ATTACH_WITHDRAWAL_INFO_IN_ORDER_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('ATTACH_WITHDRAWAL_INFO_IN_ORDER_CONFIRMATION', 0);
        }
        
        if($_POST['ATTACH_WITHDRAWAL_FORM_IN_ORDER_CONFIRMATION'] == 1)
        {
            gm_set_conf('ATTACH_WITHDRAWAL_FORM_IN_ORDER_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('ATTACH_WITHDRAWAL_FORM_IN_ORDER_CONFIRMATION', 0);
        }
        
        if($_POST['CHECK_ABANDONMENT_OF_WITHDRAWL_DOWNLOAD'] == 1)
        {
            gm_set_conf('CHECK_ABANDONMENT_OF_WITHDRAWL_DOWNLOAD', 1);
        }
        else
        {
            gm_set_conf('CHECK_ABANDONMENT_OF_WITHDRAWL_DOWNLOAD', 0);
        }
        if($_POST['CHECK_ABANDONMENT_OF_WITHDRAWL_SERVICE'] == 1)
        {
            gm_set_conf('CHECK_ABANDONMENT_OF_WITHDRAWL_SERVICE', 1);
        }
        else
        {
            gm_set_conf('CHECK_ABANDONMENT_OF_WITHDRAWL_SERVICE', 0);
        }
        
        $coo_download_delay_with_abandomment    = MainFactory::create_object('DownloadDelay');
        $coo_download_delay_without_abandomment = MainFactory::create_object('DownloadDelay');
        
        $coo_download_delay_with_abandomment->convert_days_to_seconds($_POST['DOWNLOAD_DELAY_FOR_ABANDONMENT_OF_WITHDRAWL_RIGHT_DAYS'],
                                                                      $_POST['DOWNLOAD_DELAY_FOR_ABANDONMENT_OF_WITHDRAWL_RIGHT_HOURS'],
                                                                      $_POST['DOWNLOAD_DELAY_FOR_ABANDONMENT_OF_WITHDRAWL_RIGHT_MINUTES'],
                                                                      $_POST['DOWNLOAD_DELAY_FOR_ABANDONMENT_OF_WITHDRAWL_RIGHT_SECONDS']);
        
        $coo_download_delay_without_abandomment->convert_days_to_seconds($_POST['DOWNLOAD_DELAY_WITHOUT_ABANDONMENT_OF_WITHDRAWL_RIGHT_DAYS'],
                                                                         $_POST['DOWNLOAD_DELAY_WITHOUT_ABANDONMENT_OF_WITHDRAWL_RIGHT_HOURS'],
                                                                         $_POST['DOWNLOAD_DELAY_WITHOUT_ABANDONMENT_OF_WITHDRAWL_RIGHT_MINUTES'],
                                                                         $_POST['DOWNLOAD_DELAY_WITHOUT_ABANDONMENT_OF_WITHDRAWL_RIGHT_SECONDS']);
        
        $t_download_delay_abandomment_seconds         = $coo_download_delay_with_abandomment->get_total_delay_seconds();
        $t_download_delay_without_abandomment_seconds = $coo_download_delay_without_abandomment->get_total_delay_seconds();
        
        gm_set_conf('DOWNLOAD_DELAY_FOR_ABANDONMENT_OF_WITHDRAWL_RIGHT', $t_download_delay_abandomment_seconds);
        gm_set_conf('DOWNLOAD_DELAY_WITHOUT_ABANDONMENT_OF_WITHDRAWL_RIGHT',
                    $t_download_delay_without_abandomment_seconds);
        
        if($_POST['WITHDRAWAL_WEBFORM_ACTIVE'] == 1)
        {
            gm_set_conf('WITHDRAWAL_WEBFORM_ACTIVE', 1);
        }
        else
        {
            gm_set_conf('WITHDRAWAL_WEBFORM_ACTIVE', 0);
        }
        
        if($_POST['WITHDRAWAL_PDF_ACTIVE'] == 1)
        {
            gm_set_conf('WITHDRAWAL_PDF_ACTIVE', 1);
        }
        else
        {
            gm_set_conf('WITHDRAWAL_PDF_ACTIVE', 0);
        }
        
        if($_POST['GM_SHOW_CONDITIONS'] == 1)
        {
            gm_set_conf('GM_SHOW_CONDITIONS', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_CONDITIONS', 0);
        }
        
        if($_POST['GM_CHECK_CONDITIONS'] == 1)
        {
            gm_set_conf('GM_CHECK_CONDITIONS', 1);
        }
        else
        {
            gm_set_conf('GM_CHECK_CONDITIONS', 0);
        }
        
        if($_POST['GM_SHOW_PRIVACY_CONFIRMATION'] == 1)
        {
            gm_set_conf('GM_SHOW_PRIVACY_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_PRIVACY_CONFIRMATION', 0);
        }
        
        if($_POST['GM_SHOW_CONDITIONS_CONFIRMATION'] == 1)
        {
            gm_set_conf('GM_SHOW_CONDITIONS_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_CONDITIONS_CONFIRMATION', 0);
        }
        if($_POST['GM_SHOW_WITHDRAWAL_CONFIRMATION'] == 1)
        {
            gm_set_conf('GM_SHOW_WITHDRAWAL_CONFIRMATION', 1);
        }
        else
        {
            gm_set_conf('GM_SHOW_WITHDRAWAL_CONFIRMATION', 0);
        }
        if($_POST['GM_LOG_IP'] == 1)
        {
            gm_set_conf('GM_LOG_IP', 1);
        }
        else
        {
            gm_set_conf('GM_LOG_IP', 0);
        }
        
        if($_POST['GM_CONFIRM_IP'] == 1)
        {
            gm_set_conf('GM_CONFIRM_IP', 1);
        }
        else
        {
            gm_set_conf('GM_CONFIRM_IP', 0);
        }
        
        if($_POST['GM_LOG_IP_LOGIN'] == 1)
        {
            gm_set_conf('GM_LOG_IP_LOGIN', 1);
        }
        else
        {
            gm_set_conf('GM_LOG_IP_LOGIN', 0);
        }
        
        if($_POST['DISPLAY_TAX'] == 1)
        {
            gm_set_conf('DISPLAY_TAX', 1);
        }
        else
        {
            gm_set_conf('DISPLAY_TAX', 0);
        }
        
        return new RedirectHttpControllerResponse(DIR_WS_ADMIN . 'gm_laws.php?content=laws');
    }
    
    
    /**
     * Save Cookie Preferences
     *
     * This is an AJAX callback that will save the cookies data and send back a success message.
     */
    public function actionSaveCookiePreferences()
    {
        $this->_validatePageToken();
        
        gm_set_conf('GM_COOKIE_STATUS', $_POST['status']);
        gm_set_conf('GM_COOKIE_POSITION', $_POST['position']);
        gm_set_conf('GM_COOKIE_COLOR', $_POST['color']);
        gm_set_conf('GM_COOKIE_TRANSPARENCY', $this->convertTransparencyToOpacity($_POST['transparency']));
        gm_set_conf('GM_COOKIE_CLOSE_ICON', $_POST['close-icon']);
        gm_set_conf('GM_COOKIE_BUTTON_TEXT_COLOR', $_POST['button-text-color']);
        gm_set_conf('GM_COOKIE_BUTTON_COLOR', $_POST['button-color']);
        
        $cidb             = StaticGXCoreLoader::getDatabaseQueryBuilder();
        $languageProvider = MainFactory::create('LanguageProvider', $cidb);
        
        foreach($languageProvider->getCodes()->getArray() as $languageCode)
        {
            $languageId = $languageProvider->getIdByCode($languageCode);
            $attrCode   = strtolower($languageCode->asString());
            gm_set_content('GM_COOKIE_BUTTON_TEXT', $_POST['button-text'][$attrCode], $languageId);
            gm_set_content('GM_COOKIE_BUTTON_LINK', $_POST['button-link'][$attrCode], $languageId);
            gm_set_content('GM_COOKIE_CONTENT', $_POST['content'][$attrCode], $languageId);
        }

        return new JsonHttpControllerResponse(array('success'));
    }
    
    
    public function actionGetCookiePreferences()
    {
        $cidb             = StaticGXCoreLoader::getDatabaseQueryBuilder();
        $languageProvider = MainFactory::create('LanguageProvider', $cidb);
        
        // Fetch the form data from the database (gm_get_conf). 
        $formData = array(
            'status'            => gm_get_conf('GM_COOKIE_STATUS'),
            'position'          => gm_get_conf('GM_COOKIE_POSITION'),
            'color'             => gm_get_conf('GM_COOKIE_COLOR'),
            'transparency'      => $this->convertOpacityToTransparency(gm_get_conf('GM_COOKIE_TRANSPARENCY')),
            'close-icon'        => gm_get_conf('GM_COOKIE_CLOSE_ICON'),
            'button-text-color' => gm_get_conf('GM_COOKIE_BUTTON_TEXT_COLOR'),
            'button-color'      => gm_get_conf('GM_COOKIE_BUTTON_COLOR')
        );
        
        // Language-specific values from the database (gm_get_content). 
        foreach($languageProvider->getCodes()->getArray() as $languageCode)
        {
            $languageId = $languageProvider->getIdByCode($languageCode);
            $attrCode   = strtolower($languageCode->asString());
            
            $buttonText = gm_get_content('GM_COOKIE_BUTTON_TEXT', $languageId);
            
            $formData['button-text'][$attrCode] = $buttonText !== false ? $buttonText : null;
            
            $buttonLink = gm_get_content('GM_COOKIE_BUTTON_LINK', $languageId);
            
            $formData['button-link'][$attrCode] = $buttonLink !== false ? $buttonLink : null;
            
            $content = gm_get_content('GM_COOKIE_CONTENT', $languageId);
            
            $formData['content'][$attrCode] = $content !== false ? $content : null;
        }
        
        return new JsonHttpControllerResponse($formData);
    }
    

    /**
     * Converts a transparency value (100% - 0%) to the equal opacity value (0.0 - 1.0).
     * Note: The transparency value is represented as percentage, the opacity as float and
     * the opacity is reverted. 0.9-, or 90% opacity means 0.1-, or 10% transparency.
     *
     * @param int $transparency Value which should be converted to the equal opacity.
     *
     * @return int Converted transparency value.
     */
    private function convertTransparencyToOpacity($transparency)
    {
        // e.g.: 40 transparency is equal to 0.6 opacity
        // The formula to convert transparency to opacity is 1 - transparency / 100:
        // (1 - 40 / 100) = (1 - 0.4) = (0.6)
        return 1 - (int)$transparency / 100;
    }
    

    /**
     * Converts a opacity value (0.0 - 1.0) to the equal transparency value (100% - 0%).
     * Note: The transparency value is represented as percentage, the opacity as float and
     * the opacity is reverted. 0.9-, or 90% opacity means 0.1-, or 10% transparency.
     *
     * @param float $opacity Value which should be converted to the equal transparency.
     *
     * @return int Converted opacity value.
     */
    private function convertOpacityToTransparency($opacity)
    {
        // e.g.: 0.3 opacity is equal to 70 transparency
        // The formula to convert opacity to transparency is 100 - opacity * 100:
        // (100 - 0.3 * 100) = (100 - 30) = (70)
        return 100 - (double)$opacity * 100;
    }
}
API documentation generated by ApiGen