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 QuickEditProductPropertiesReader

Class QuickEditProductPropertiesReader

QuickEditProductPropertiesReader implements QuickEditProductPropertiesReaderInterface
Package: QuickEdit\Repositories
Category: System
Todo: Improve values_price filtering.
Located at Services/Core/QuickEdit/Repositories/Reader/QuickEditProductPropertiesReader.inc.php

Methods summary

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

QuickEditProductPropertiesReader constructor.

QuickEditProductPropertiesReader constructor.

Parameters

$db
Database query builder instance.
$quickEditPropertiesOverviewColumns

QuickEdit properties overview columns

public array
# getFilteredProductProperties( array $productIds, array $filterParameters )

Returns filtered product properties based on the provided filter criteria.

Returns filtered product properties based on the provided filter criteria.

Parameters

$productIds
Array containing the selected product IDs to be processed.
$filterParameters
Contains the filter parameters.

Returns

array
Returns the query result as a pure array, or an empty array when no result is produced.

Implementation of

QuickEditProductPropertiesReaderInterface::getFilteredProductProperties()
public integer
# getFilteredProductPropertiesCount( array $productIds, array $filterParameters )

Returns products that are subject to the specified filter criteria.

Returns products that are subject to the specified filter criteria.

Parameters

$productIds
Array containing the selected product IDs to be processed.
$filterParameters
Contains the filter parameters.

Returns

integer
Returns the number of product properties found.

Implementation of

QuickEditProductPropertiesReaderInterface::getFilteredProductPropertiesCount()
public QuickEditProductPropertiesReaderInterface
# paginateProperties( IntType $start = null, IntType $length = null )

Sets the starting point of the pagination and the number of products.

Sets the starting point of the pagination and the number of products.

Parameters

$start
Starting point.
$length
Number of products.

Returns

QuickEditProductPropertiesReaderInterface
Returns same instance for chained method calls.

Implementation of

QuickEditProductPropertiesReaderInterface::paginateProperties()
public QuickEditProductPropertiesReaderInterface
# sortProperties( StringType $orderBy = null )

Sets the sorting order of the products

Sets the sorting order of the products

Parameters

$orderBy
Sorting order (ASC or DESC)

Returns

QuickEditProductPropertiesReaderInterface
Returns same instance for chained method calls.

Implementation of

QuickEditProductPropertiesReaderInterface::sortProperties()
public integer
# getProductPropertiesCount( )

Returns the number of all product properties found.

Returns the number of all product properties found.

Returns

integer
Returns the record number.

Implementation of

QuickEditProductPropertiesReaderInterface::getProductPropertiesCount()
protected
# _join( )

Specifies the database relationships.

Specifies the database relationships.

protected
# _addSqlWhereCondition( string $column, string $value )

Specifies the where conditions for the database query

Specifies the where conditions for the database query

Parameters

$column
Column name.
$value
Condition value.
protected
# _addSqlWhereRoundCondition( string $column, string $value )

Starts and ends a group expression with 'where' condition in conjunction with a round function.

Starts and ends a group expression with 'where' condition in conjunction with a round function.

Parameters

$column
Column name.
$value
Condition value.
protected
# _addSqlWhereGroupCondition( string $column, array $value )

Starts and ends a group expression with 'where' condition.

Starts and ends a group expression with 'where' condition.

Parameters

$column
Column name.
$value
Condition value.
protected
# _addSqlWhereLikeCondition( string $column, string $value )

Starts and ends a group expression with 'like' condition.

Starts and ends a group expression with 'like' condition.

Parameters

$column
Column name.
$value
Condition value.
protected
# _addSqlWhereBetweenCondition( string $column, array $value )

Starts and ends a group expression with 'where between' condition.

Starts and ends a group expression with 'where between' condition.

Parameters

$column
Column name.
$value
Condition values.
protected
# _addSqlWhereLessThanCondition( string $column, string $value )

Starts and ends a group expression with 'less than' condition.

Starts and ends a group expression with 'less than' condition.

Parameters

$column
Column name.
$value
Condition value.
protected
# _addSqlWhereMoreThanCondition( string $column, string $value )

Starts and ends a group expression with 'more than' condition.

Starts and ends a group expression with 'more than' condition.

Parameters

$column
Column name.
$value
Condition value.
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.
protected array
# _columns( )

Provides required columns.

Provides required columns.

Returns

array
Returns an array of the required columns.
protected array
# _addAdditionalColumns( )

Provides additionally required columns.

Provides additionally required columns.

Returns

array
Returns an array of the additional columns.

Properties summary

protected CI_DB_query_builder $db
#
protected string $brutto
#
protected QuickEditPropertiesOverviewColumns $quickEditPropertiesOverviewColumns

$quickEditPropertiesOverviewColumns

$quickEditPropertiesOverviewColumns

#
API documentation generated by ApiGen