Class InvoiceListGenerator
| category |
System |
|---|---|
| package |
Invoice |
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builder
_createMemoCollectionByCustomersId(integer $customersId) : \CustomerMemoCollection
| Todo |
Equal to OrderListGenerator::_createMemoCollectionByCustomersId() method. Maybe outsource in abstract parent. |
|---|
integerId of customer.
\CustomerMemoCollection
_createOrderAddressBlockByRow(string $type, array $row) : \OrderAddressBlock
| Todo |
Equal to OrderListGenerator::_createOrderAddressBlockByRow() method. Maybe outsource in abstract parent. |
|---|
stringWhether delivery or billing.
arrayArray which contain data about an order result row.
\OrderAddressBlock
_createOrderStatusArrayByOrderId(integer $orderId) : array
The returned array is associative and contains the keys orders_status and orders_status_name.
integerorders_id of expected entry.
arrayContains the order status id and name.
_limit(\IntType $startIndex = null, \IntType $maxCount = null) : $this|\InvoiceListGenerator
| Todo |
Equal to OrderListGenerator::_limit() method. Maybe outsource in abstract parent. |
|---|
\IntType
\IntType
$this|\InvoiceListGeneratorReturns the instance object for method chaining.
_order(\StringType $orderBy = null) : $this|\InvoiceListGenerator
| Todo |
Equal to OrderListGenerator::_order() method. Maybe outsource in abstract parent. |
|---|
\StringType
$this|\InvoiceListGeneratorReturns the instance object for method chaining.
_prepareCollection(array $resultArray) : \InvoiceListItemCollection
arrayResult array with fetched invoice data.
\InvoiceListItemCollection
_select() : $this|\InvoiceListGenerator
getInvoiceListByConditions(array $conditions = array(), \IntType|null $startIndex = null, \IntType|null $maxCount = null, \StringType|null $orderBy = null) : \InvoiceListItemCollection
The other arguments helps to control fetched data.
array(Optional) Conditions for tht where clause.
\InvoiceListItemCollection
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder