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
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects

Classes

  • QuickEditProductGraduatedPricesReader
  • QuickEditProductGraduatedPricesRepository
  • QuickEditProductPropertiesReader
  • QuickEditProductPropertiesRepository
  • QuickEditProductPropertiesWriter
  • QuickEditProductSpecialPricesReader
  • QuickEditProductSpecialPricesRepository
  • QuickEditProductSpecialPricesWriter

Class QuickEditProductPropertiesWriter

Class QuickEditProductPropertiesWriter

QuickEditProductPropertiesWriter implements QuickEditProductPropertiesWriterInterface
Package: QuickEdit\Repositories
Category: System
Located at Services/Core/QuickEdit/Repositories/Writer/QuickEditProductPropertiesWriter.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $db, QuickEditPropertiesOverviewColumns $quickEditPropertiesOverviewColumns )

QuickEditProductPropertiesWriter constructor.

QuickEditProductPropertiesWriter constructor.

Parameters

$db
Database query builder instance.
$quickEditPropertiesOverviewColumns

QuickEdit properties overview columns.

public boolean
# setByCombisId( array $productCombi )

Saves product by product-combi ID.

Saves product by product-combi ID.

Parameters

$productCombi
Contains product data to be saved.

Returns

boolean
Returns the operation result.

Implementation of

QuickEditProductPropertiesWriterInterface::setByCombisId()
protected
# _setTaxRate( )

Sets the tax rate of a product.

Sets the tax rate of a product.

protected array
# _collectUpdateData( array $items )

Returns the updated data of a product.

Returns the updated data of a product.

Parameters

$items
Items.

Returns

array
Returns the updated data of a product is an array.
protected float|integer
# _calculatePrice( string $value, string $column )

Calculate the price of the value.

Calculate the price of the value.

Parameters

$value
Value.
$column
Column of the table.

Returns

float|integer
Price of the product.
protected mixed
# _calculateUnit( string $value, string $column )

Calculates the unit of the value.

Calculates the unit of the value.

Parameters

$value
Value.
$column
Column of the table.

Returns

mixed
protected array
# _editableColumns( )

Returns the editable columns for the product.

Returns the editable columns for the product.

Returns

array
Returns the editable columns for the product is an array.
protected array
# _delegateFilterToColumn( )

Returns the required columns for the overview of the properties.

Returns the required columns for the overview of the properties.

Returns

array
Returns an array of the required columns for the overview of the properties.

Properties summary

protected CI_DB_query_builder $db
#
protected integer $combiId
#
protected float $taxRate
#
protected QuickEditPropertiesOverviewColumns $quickEditPropertiesOverviewColumns
#
API documentation generated by ApiGen