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

  • AdminFavoritesAjaxController
  • AdminInfoBoxAjaxController
  • AfterbuyAjaxController
  • CustomerLoginController
  • DashboardController
  • DynamicShopMessagesController
  • EmailsController
  • EmbeddedModuleController
  • ImageProcessingController
  • InvoicesModalsAjaxController
  • InvoicesOverviewAjaxController
  • InvoicesOverviewController
  • LawsController
  • MaxFileSizeController
  • ModuleCenterController
  • NewAttributesController
  • OrdersModalsAjaxController
  • OrdersOverviewAjaxController
  • OrdersOverviewController
  • OrderTooltipController
  • PackedDownloadController
  • SessionTimeoutAjaxController
  • ShopKeyController
  • SlidersDetailsAjaxController
  • SlidersDetailsController
  • SlidersOverviewAjaxController
  • SlidersOverviewController
  • TemplateConfigurationController
  • UserConfigurationController

Class DynamicShopMessagesController

Class DynamicShopMessages

This controller fetches the dynamic shop messages from the shop portal through a CURL request. It will only perform the request once a day and use the data cache for this reason (performance).

HttpViewController implements HttpViewControllerInterface
Extended by AdminHttpViewController implements AdminStatusOnlyInterface
Extended by DynamicShopMessagesController
Package: AdminHttpViewControllers
Category: System
Located at Controllers/HttpView/Admin/DynamicShopMessagesController.inc.php

Methods summary

public
# init( )

Initialize Controller

Initialize Controller

public JsonHttpControllerResponse
# actionDefault( )

Default controller callback.

Default controller callback.

Returns

JsonHttpControllerResponse

Overrides

HttpViewController::actionDefault
protected boolean|string
# _getCacheResponse( )

Get the cached response.

Get the cached response.

Returns

boolean|string
Returns the JSON string or false if the cache is outdated.
protected boolean|string
# _getRequestResponse( )

Get dynamic messages with cURL request to Gambio's servers.

Get dynamic messages with cURL request to Gambio's servers.

Returns

boolean|string
Returns the response JSON string or false if an error occurred.

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

__construct(), _callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), proceed()

Properties summary

protected DataCache $dataCache
#
protected string $cacheKey
# 'dynamic-shop-messages'

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray

API documentation generated by ApiGen