DynamicEntity
extends Base
Table of Contents
Methods
-
__construct()
: mixed
-
addProduct()
: void
-
createOrderByEntity()
: Order|null
-
getEntityProducts()
: array<string|int, mixed>
-
getOrder()
: Order|null
-
getOwnerId()
: int
-
getOwnerTypeId()
: int
-
getProducts()
: array<string|int, Product>
-
loadEntityProducts()
: array<string|int, mixed>
-
setOrder()
: $this
__construct()
public
__construct(int $ownerTypeId, int $ownerId) : mixed
Parameters
-
$ownerTypeId
: int
-
-
$ownerId
: int
-
-
throws
-
SystemException
addProduct()
public
addProduct(Product $product) : void
Parameters
-
$product
: Product
-
-
throws
-
ArgumentException
createOrderByEntity()
public
createOrderByEntity() : Order|null
getEntityProducts()
public
getEntityProducts() : array<string|int, mixed>
Return values
array<string|int, mixed>
getOrder()
public
getOrder() : Order|null
getOwnerId()
public
getOwnerId() : int
getOwnerTypeId()
public
getOwnerTypeId() : int
getProducts()
public
getProducts() : array<string|int, Product>
Return values
array<string|int, Product>
loadEntityProducts()
public
loadEntityProducts() : array<string|int, mixed>
Return values
array<string|int, mixed>
setOrder()
public
setOrder(Order $order) : $this
Parameters
-
$order
: Order
-