Facade
Table of Contents
Methods
-
buildProductModelFromWizard()
: DocumentProductRecord
-
loadByDocumentId()
: array<string|int, mixed>
-
loadProductModel()
: DocumentProductRecord
buildProductModelFromWizard()
public
static buildProductModelFromWizard(ProductFromWizard $product[, int|null $documentId = null ][, string|null $documentType = null ]) : DocumentProductRecord
Parameters
-
$product
: ProductFromWizard
-
-
$documentId
: int|null
= null
-
-
$documentType
: string|null
= null
-
loadByDocumentId()
public
static loadByDocumentId([int|null $documentId = null ][, string|null $documentType = null ][, array<string|int, mixed> $context = [] ]) : array<string|int, mixed>
Parameters
-
$documentId
: int|null
= null
-
-
$documentType
: string|null
= null
-
-
$context
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
loadProductModel()
public
static loadProductModel(int $productId[, int|null $documentId = null ][, string|null $documentType = null ]) : DocumentProductRecord
Parameters
-
$productId
: int
-
-
$documentId
: int|null
= null
-
-
$documentType
: string|null
= null
-