Class QuickEditProductPropertiesWriter
| category |
System |
|---|---|
| package |
QuickEdit |
| subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \QuickEditPropertiesOverviewColumns $quickEditPropertiesOverviewColumns)
\CI_DB_query_builderDatabase query builder instance.
\QuickEditPropertiesOverviewColumnsQuickEdit properties overview columns.
_calculatePrice(string $value, string $column) : float|integer
stringValue.
stringColumn of the table.
float|integerPrice of the product.
_calculateUnit(string $value, string $column) : mixed
stringValue.
stringColumn of the table.
mixed
_collectUpdateData(array $items) : array
arrayItems.
arrayReturns the updated data of a product is an array.
_delegateFilterToColumn() : array
arrayReturns an array of the required columns for the overview of the properties.
_editableColumns() : array
arrayReturns the editable columns for the product is an array.
_setTaxRate()
setByCombisId(array $productCombi) : boolean
arrayContains product data to be saved.
booleanReturns the operation result.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder
combiId : integer
| var |
|---|
integer
taxRate : float
| var |
|---|
float
quickEditPropertiesOverviewColumns : \QuickEditPropertiesOverviewColumns