ItemDetailsType
in package
Class representing ItemDetailsType.
XSD Type: itemDetailsType
Table of Contents
- $item : array<string|int, mixed>
- $type : string|null
- addToItem() : self
- Adds as item.
- getItem() : array<string|int, ItemType>
- Gets as item.
- getType() : string
- Gets as type.
- issetItem() : bool
- isset item.
- setItem() : self
- Sets a new item.
- setType() : self
- Sets a new type.
- unsetItem() : void
- unset item.
Properties
$item
private
array<string|int, mixed>
$item
= []
$type
private
string|null
$type
= null
Methods
addToItem()
Adds as item.
public
addToItem(ItemType $item) : self
Parameters
- $item : ItemType
Return values
self —getItem()
Gets as item.
public
getItem() : array<string|int, ItemType>
Return values
array<string|int, ItemType> —getType()
Gets as type.
public
getType() : string
Return values
string —issetItem()
isset item.
public
issetItem(int|string $index) : bool
Parameters
- $index : int|string
Return values
bool —setItem()
Sets a new item.
public
setItem(array<string|int, ItemType> $item) : self
Parameters
- $item : array<string|int, ItemType>
Return values
self —setType()
Sets a new type.
public
setType(string $type) : self
Parameters
- $type : string
Return values
self —unsetItem()
unset item.
public
unsetItem(int|string $index) : void
Parameters
- $index : int|string