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

  • InvoiceActions
  • InvoicesOverviewColumns

Class 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.

Package: Extensions\Invoices
Category: System
Located at Extensions/Invoices/InvoicesOverviewColumns.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $db )

OrdersOverviewColumns constructor

OrdersOverviewColumns constructor

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

Parameters

$db
Will be used for database operations.

Throws

InvalidArgumentException
public DataTableColumnCollection
# getColumns( )

Get the DataTableColumnCollection of the table.

Get the DataTableColumnCollection of the table.

Returns

DataTableColumnCollection
public array
# serializeColumns( )

Get the column definitions in a plain array.

Get the column definitions in a plain array.

Returns

array
public array
# _getGroupOptions( )

Get the customer group filtering options.

Get the customer group filtering options.

Returns

array
public array
# _getStatusOptions( )

Get the order status filtering options.

Get the order status filtering options.

Returns

array
public array
# _getPaymentOptions( )

Get the payment method filtering options.

Get the payment method filtering options.

Returns

array
protected array
# _getCountryOptions( )

Get the country filtering options.

Get the country filtering options.

Returns

array
protected array
# _getMultiSelectOptions( array $options )

Convert the option to [value, text] arrays.

Convert the option to [value, text] arrays.

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.

Parameters

$options
Contains the options of the multi_select widget.

Returns

array

Properties summary

protected CI_DB_query_builder $db
#
protected array $columns
#
protected string $noValuePlaceholder
#
API documentation generated by ApiGen