Class QuickEditOverviewAjaxController

Class QuickEditOverviewAjaxController

HttpViewController implements HttpViewControllerInterface
AdminHttpViewController implements AdminStatusOnlyInterface
QuickEditOverviewAjaxController

Methods summary

public init( void )

Initializes the required objects.

public actionDataTable( void ) : boolean|JsonHttpControllerResponse

Returns all the data for the DataTables instance of the QuickEdit main view.

public actionProductGraduatedPrices( void ) : boolean|JsonHttpControllerResponse

Returns the graduted prices for the overview page in JSON format.

public actionTooltips( void ) : boolean|JsonHttpControllerResponse

Returns the tooltips for the overview page in JSON format.

public actionFilterOptions( void ) : boolean|JsonHttpControllerResponse

Returns the filter options for the overview page in JSON format.

public actionCreateInventoryFile( void ) : boolean|JsonHttpControllerResponse

Creates inventory list PDF.

public actionUpdate( void ) : boolean|JsonHttpControllerResponse

Updates product information.

public actionSaveGraduatedPrices( void ) : boolean|JsonHttpControllerResponse

Saves graduated prices of product.

protected _getTableData( void ) : array

Returns the QuickEdit overview table data.

protected _getTableRowData( QuickEditProductListItem $product ) : array

Returns the various data needed to display one row of the table.

protected _getProductGraduatedPrices( void ) : array

Returns the special prices for the existing products.

protected _getRecordsTotal( void ) : integer

Returns the number of existing products.

protected _getFilteredProductsCount( void ) : array

Taking into account the filters, the number of products is supplied.

protected _getManufacturerConfiguration( void ) : array

Provides the configuration for the manufacturer.

protected _getShipmentConfiguration( void ) : array

Provides the configuration for the shipping.

protected _getTaxConfiguration( void ) : array

Returns the configuration for the tax rates.

protected _getTaxRate( integer $productsId ) : mixed

Returns the tax rate for the specified product.

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

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

Properties summary

protected $db : CI_DB_query_builder

		
protected $quickEditProductReadService : QuickEditProductReadService

		
protected $quickEditProductWriteService : QuickEditProductWriteService

		

Properties inherited from HttpViewController

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