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