StoreDocumentElement implements AccessibleItem
Table of Contents
Interfaces
Methods
- __construct() : mixed
- createFromArray() : StoreDocumentElement
- Create from fields array.
- createFromId() : StoreDocumentElement
- getId() : int
- getStoreIds() : array<string|int, int>
- Store ids used in document element.
Methods
__construct()
public
__construct(int $id[, array<string|int, mixed> $storeIds = [] ]) : mixed
Parameters
- $id : int
- $storeIds : array<string|int, mixed> = []
createFromArray()
Create from fields array.
public
static createFromArray(array<string|int, mixed> $fields) : StoreDocumentElement
Parameters
- $fields : array<string|int, mixed>
Return values
StoreDocumentElementcreateFromId()
public
static createFromId(int $itemId[, array<string|int, mixed>|null $storeIds = null ]) : StoreDocumentElement
Parameters
- $itemId : int
- $storeIds : array<string|int, mixed>|null = null
Tags
Return values
StoreDocumentElementgetId()
public
getId() : int
Tags
Return values
intgetStoreIds()
Store ids used in document element.
public
getStoreIds() : array<string|int, int>