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 InvoicesOverviewAjaxController

Class InvoicesAjaxController

AJAX controller for the invoices main page.

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

Methods summary

row data.

Set the

row data.

This method will return an array which will contain the data attributes of each row. These data are used in JS as follows: "$('tr').data('propertyName')".

Overload this method to provide your own data to the rows.

Parameters

$invoiceListItem

Returns

array
public
# init( )

Initialize Controller

Initialize Controller

public
# actionDataTable( )

DataTable Instance Callback

DataTable Instance Callback

Provides the data for the DataTables instance of the invoices overview.

public JsonHttpControllerResponse
# actionTooltips( )

DataTable Tooltips Rendering

DataTable Tooltips Rendering

This method will use the InvoicesOverviewTooltips class to render all the tooltips of the current view.

Returns

JsonHttpControllerResponse
public JsonHttpControllerResponse
# actionFilterOptions( )

Regenerate the filtering options and send them back to the client.

Regenerate the filtering options and send them back to the client.

After some specific changes the table filtering options will need to be updated because they do not contain the required values from the table row. This method will use the InvoicesOverviewColumns class to fetch the latest state of the filtering options.

Returns

JsonHttpControllerResponse
protected InvoiceListItemCollection
# _getInvoiceListItems( )

Parse the DataTable request and fetch the InvoiceListItems that need to be displayed.

Parse the DataTable request and fetch the InvoiceListItems that need to be displayed.

Returns

InvoiceListItemCollection
Returns the collection with the InvoiceListItem instances.
protected array
# _getTableData( )

Get the table data.

Get the table data.

This method will generate the data of the datatable instance. It can be overloaded in order to contain extra data e.g. for a new column. The filtering of custom columns must be also done manually.

Returns

array
protected array
# _getRowData( InvoiceListItem $invoiceListItem )

Set the

protected integer
# _getTotalRecordCount( )

Get the total record count of the "orders" table.

Get the total record count of the "orders" table.

Returns

integer
protected integer
# _getFilteredRecordCount( )

Get the filtered record count of the "orders" table.

Get the filtered record count of the "orders" table.

Returns

integer
protected array
# _getCurrencies( )

Get the currencies with all settings like decimal point.

Get the currencies with all settings like decimal point.

Returns

array

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

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

Properties summary

protected CI_DB_query_builder $db
#
protected InvoiceArchiveReadService $invoiceArchiveReadService
#
protected DataTableHelper $dataTableHelper
#
protected InvoicesOverviewColumns $invoicesOverviewColumns
#
protected InvoicesOverviewTooltips $invoicesOverviewTooltips
#

Properties inherited from HttpViewController

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

API documentation generated by ApiGen