Class OrdersOverviewAjaxController

Class OrdersAjaxController

AJAX controller for the orders main page.

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

Methods summary

public init( void )

Initialize Controller

public actionDataTable( void )

DataTable Instance Callback

public actionTooltips( void ) : JsonHttpControllerResponse

DataTable Tooltips Rendering

public actionFilterOptions( void ) : JsonHttpControllerResponse

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

public actionGetInvoices( void ) : JsonHttpControllerResponse

Returns an array of invoices data for an order.

public actionGetLatestPackingSlip( void ) : JsonHttpControllerResponse

Get the latest packing slip information.

protected _getOrderListItems( void ) : OrderListItemCollection

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

protected _getTableData( void ) : array

Get the table data.

protected _getRowData( OrderListItem $orderListItem, integer $latestInvoiceId = 0, integer $latestInvoiceNumber = null ) : array

Set the row data.

protected _getTotalRecordCount( void ) : integer

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

protected _getFilteredRecordCount( void ) : integer

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

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

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

Properties summary

Properties inherited from HttpViewController

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