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 QuickEditProductGraduatedPricesReader

Class QuickEditProductGraduatedPricesReader

QuickEditProductGraduatedPricesReader implements QuickEditProductGraduatedPricesReaderInterface
Package: QuickEdit\Repositories
Category: System
Located at Services/Core/QuickEdit/Repositories/Reader/QuickEditProductGraduatedPricesReader.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $db )

QuickEditProductGraduatedPricesReader constructor.

QuickEditProductGraduatedPricesReader constructor.

Parameters

$db
Database query builder instance.
public array
# getGraduatedPrices( array $productIds = null )

Returns the graduated prices of a product or an empty array nothing was found.

Returns the graduated prices of a product or an empty array nothing was found.

Parameters

$productIds
Array containing the selected product IDs to be processed.

Returns

array
Returns array that contains the graduated prices information.

Implementation of

QuickEditProductGraduatedPricesReaderInterface::getGraduatedPrices()
protected array
# _getPersonalOffersByProductId( integer|null $productId = null )

Provides customer-specific product offers.

Provides customer-specific product offers.

Parameters

$productId
Optional, product ID to be processed.

Returns

array
Returns the graduated prices or an empty array if nothing was found.
protected array
# _getCustomerStatuses( )

Returns the names of the existing customer groups.

Returns the names of the existing customer groups.

Returns

array
Returns the customer status info or an empty array if nothing was found.
protected array
# _getTaxRateByProductId( integer $productId )

Returns the tax rate for the specified product.

Returns the tax rate for the specified product.

Parameters

$productId
Product ID to be processed.

Returns

array
Returns an object that contains the product tax rate.

Properties summary

protected CI_DB_query_builder $db
#
API documentation generated by ApiGen