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 DashboardController

Class DashboardController

PHP controller class for the dashboard page of the admin section. The statistic results are generated within this class and provided to the frontend through AJAX calls.

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

Methods summary

public
# init( )

Initialize Controller

Initialize Controller

public
# actionGetStatisticBoxes( )
public
# actionGetLatestOrders( )

Returns the latest orders.

Returns the latest orders.

public JsonHttpControllerResponse
# actionGetUsersOnline( )

Returns the amount of users who are currently online

Returns the amount of users who are currently online

Returns

JsonHttpControllerResponse
protected array
# _getUsersOnline( )

Get online user statistics.

Get online user statistics.

Returns

array
public JsonHttpControllerResponse
# actionGetVisitors( )

Gets the amount of Visitors in the given timespan

Gets the amount of Visitors in the given timespan

Returns

JsonHttpControllerResponse
protected array
# _getVisitors( string $interval )

Get visitors count statistics.

Get visitors count statistics.

Parameters

$interval

Returns

array
public JsonHttpControllerResponse
# actionGetNewCustomers( )

Returns the amount of Visitors in the given timespan

Returns the amount of Visitors in the given timespan

Returns

JsonHttpControllerResponse
public JsonHttpControllerResponse
# actionGetOrdersCount( )

Returns the count of orders in the given timespan

Returns the count of orders in the given timespan

Returns

JsonHttpControllerResponse
protected array
# _getOrdersCount( string $interval )

Get orders count statistics.

Get orders count statistics.

Parameters

$interval

Returns

array
public JsonHttpControllerResponse
# actionGetConversionRate( )

Returns the conversion rate in the given timespan

Returns the conversion rate in the given timespan

Returns

JsonHttpControllerResponse
protected array
# _getConversionRate( string $interval )

Get conversion rate statistics.

Get conversion rate statistics.

Parameters

$interval

Returns

array
public JsonHttpControllerResponse
# actionGetSalesStatisticsData( )

Returns sales data for the dashboard statistic.

Returns sales data for the dashboard statistic.

Returns

JsonHttpControllerResponse
protected
# _getSalesStatisticsData( $interval )
public JsonHttpControllerResponse
# actionGetOrderStatisticsData( )

Returns order data for the dashboard statistic.

Returns order data for the dashboard statistic.

Returns

JsonHttpControllerResponse
public JsonHttpControllerResponse
# actionGetVisitorsStatisticsData( )

Returns visitor data for the dashboard statistic.

Returns visitor data for the dashboard statistic.

Returns

JsonHttpControllerResponse
public JsonHttpControllerResponse
# actionGetNewCustomerStatisticsData( )

Returns new customer data for the dashboard statistic.

Returns new customer data for the dashboard statistic.

Returns

JsonHttpControllerResponse
public JsonHttpControllerResponse
# actionGetSales( )

Returns the sales rate in the given timespan

Returns the sales rate in the given timespan

Returns

JsonHttpControllerResponse
protected
# _getSales( $interval )
public JsonHttpControllerResponse
# actionGetAverageOrderValue( )

Returns the average order value in the given timespan

Returns the average order value in the given timespan

Returns

JsonHttpControllerResponse

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

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

Properties summary

protected StatisticsService $statisticsService
#
protected array $excludeOrderStatusIds
# array(99)

Properties inherited from HttpViewController

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

API documentation generated by ApiGen