Class QuickEditProductPropertiesReader
Class QuickEditProductPropertiesReader
- QuickEditProductPropertiesReader implements QuickEditProductPropertiesReaderInterface
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.
public
getFilteredProductProperties( array $productIds, array $filterParameters )
: array
Returns filtered product properties based on the provided filter criteria.
public
getFilteredProductPropertiesCount( array $productIds, array $filterParameters )
: integer
Returns products that are subject to the specified filter criteria.
public
paginateProperties( IntType $start = null, IntType $length = null )
: QuickEditProductPropertiesReaderInterface
Sets the starting point of the pagination and the number of products.
public
sortProperties( StringType $orderBy = null )
: QuickEditProductPropertiesReaderInterface
Sets the sorting order of the products
public
getProductPropertiesCount( void )
: integer
Returns the number of all product properties found.
protected
_addSqlWhereCondition( string $column, string $value )
Specifies the where conditions for the database query
protected
_addSqlWhereRoundCondition( string $column, string $value )
Starts and ends a group expression with 'where' condition in conjunction with a round function.
protected
_addSqlWhereGroupCondition( string $column, array $value )
Starts and ends a group expression with 'where' condition.
protected
_addSqlWhereLikeCondition( string $column, string $value )
Starts and ends a group expression with 'like' condition.
protected
_addSqlWhereBetweenCondition( string $column, array $value )
Starts and ends a group expression with 'where between' condition.
protected
_addSqlWhereLessThanCondition( string $column, string $value )
Starts and ends a group expression with 'less than' condition.
protected
_addSqlWhereMoreThanCondition( string $column, string $value )
Starts and ends a group expression with 'more than' condition.
protected
_delegateFilterToColumn( void )
: array
Returns the required columns for the overview of the properties.
Properties summary
protected
$quickEditPropertiesOverviewColumns
: QuickEditPropertiesOverviewColumns
$quickEditPropertiesOverviewColumns