InvoicesOverviewColumns

Class InvoicesOverviewColumns

This class contains the definition of the invoices overview 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

Invoices

Methods

OrdersOverviewColumns constructor

__construct(\CI_DB_query_builder $db) 

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

Throws
\InvalidArgumentException

Arguments

$db

\CI_DB_query_builder

Will be used for database operations.

Get the customer group filtering options.

_getGroupOptions() : array

Response

array

Get the payment method filtering options.

_getPaymentOptions() : 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