OrdersOverviewColumns

Class OrdersOverviewColumns

This class contains the definition of the order columns. Use it in every controller that needs the column definition.

This class can be overloaded and more table columns can be added.

category

System

package

Extensions

subpackage

Orders

Methods

OrdersOverviewColumns constructor

__construct() 

Overload this method and append the $columns array with new column definitions.

Throws
\InvalidArgumentException

Get the country filtering options.

_getCountryOptions() : array

Response

array

Get the customer group filtering options.

_getGroupOptions() : array

Response

array

Convert the option to [value, text] arrays.

_getMultiSelectOptions(array $options) : array

The result of this method can be given back to multi_select widgets. If an option has different value and text then the first entry must always be the value and the second the text to be displayed.

Arguments

$options

array

Contains the options of the multi_select widget.

Response

array

Get the payment method filtering options.

_getPaymentOptions() : array

Response

array

Get the shipping method filtering options.

_getShippingOptions() : array

Response

array

Get the order status filtering options.

_getStatusOptions() : array

Response

array

Get the DataTableColumnCollection of the table.

getColumns() : \DataTableColumnCollection

Get the column definitions in a plain array.

serializeColumns() : array

Response

array

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

columns

columns : array
var

Type(s)

array

noValuePlaceholder

noValuePlaceholder : string
var

Type(s)

string