PresentationIdCollection
in package
implements
PresentationIdCollectionInterface
Class PresentationIdCollection
Interfaces, Classes and Traits
- PresentationIdCollectionInterface
- Interface PresentationIdCollectionInterface
Table of Contents
- $position : int
- $productId : ProductId
- $values : array<string|int, AbstractPresentationId>
- __construct() : mixed
- SellingUnitImagesCollection constructor.
- __toString() : string
- count() : int
- current() : AbstractPresentationId
- jsonSerialize() : mixed
- key() : mixed
- next() : void
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- valid() : bool
- sort() : void
- sort the values array
Properties
$position
protected
int
$position
= 0
$productId
protected
ProductId
$productId
$values
protected
array<string|int, AbstractPresentationId>
$values
= []
Methods
__construct()
SellingUnitImagesCollection constructor.
public
__construct(ProductId $productId[, array<string|int, AbstractPresentationId> $identifiers = [] ]) : mixed
Parameters
- $productId : ProductId
- $identifiers : array<string|int, AbstractPresentationId> = []
Return values
mixed —__toString()
public
__toString() : string
Tags
Return values
string —count()
public
count() : int
Tags
Return values
int —current()
public
current() : AbstractPresentationId
Tags
Return values
AbstractPresentationId —jsonSerialize()
public
jsonSerialize() : mixed
Tags
Return values
mixed —key()
public
key() : mixed
Tags
Return values
mixed —next()
public
next() : void
Tags
Return values
void —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Tags
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Tags
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Tags
Return values
void —rewind()
public
rewind() : void
Tags
Return values
void —valid()
public
valid() : bool
Tags
Return values
bool —sort()
sort the values array
protected
sort() : void