Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • OrderItemAttributeRepository
  • OrderItemAttributeRepositoryDeleter
  • OrderItemAttributeRepositoryReader
  • OrderItemAttributeRepositoryWriter
  • OrderItemPropertyRepository
  • OrderItemPropertyRepositoryDeleter
  • OrderItemPropertyRepositoryReader
  • OrderItemPropertyRepositoryWriter
  • OrderItemRepository
  • OrderItemRepositoryDeleter
  • OrderItemRepositoryReader
  • OrderItemRepositoryWriter
  • OrderRepository
  • OrderRepositoryDeleter
  • OrderRepositoryReader
  • OrderRepositoryWriter
  • OrderTotalRepository
  • OrderTotalRepositoryDeleter
  • OrderTotalRepositoryReader
  • OrderTotalRepositoryWriter

Class OrderItemAttributeRepositoryWriter

Class OrderItemAttributeRepositoryWriter

OrderItemAttributeRepositoryWriter implements OrderItemAttributeRepositoryWriterInterface
Package: Order\Repositories
Category: System
Located at CoreServices/Order/Repositories/Writer/OrderItemAttributeRepositoryWriter.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $dbQueryBuilder )

OrderItemAttributeRepositoryWriter constructor.

OrderItemAttributeRepositoryWriter constructor.

Parameters

$dbQueryBuilder
Query builder.
public integer
# insertIntoOrderItem( IdType $orderItemId, OrderItemAttribute $orderItemAttribute )

Adds a new attribute to the order item.

Adds a new attribute to the order item.

Parameters

$orderItemId
ID of the order item.
$orderItemAttribute
Attribute to add.

Returns

integer
ID of stored order item attribute.

Implementation of

OrderItemAttributeRepositoryWriterInterface::insertIntoOrderItem()
public OrderItemAttributeRepositoryWriter
# update( StoredOrderItemAttribute $orderItemAttribute )

Updates the stored order item attribute.

Updates the stored order item attribute.

Parameters

$orderItemAttribute
Order item attribute.

Returns

OrderItemAttributeRepositoryWriter
Same instance for method chaining.

Implementation of

OrderItemAttributeRepositoryWriterInterface::update()

Properties summary

protected CI_DB_query_builder $db

Query builder.

Query builder.

#
protected string $table

Table.

Table.

# 'orders_products_attributes'
API documentation generated by ApiGen