SellingUnitImageCollection
in package
implements
SellingUnitImageCollectionInterface
Class SellingUnitImagesCollection
Interfaces, Classes and Traits
- SellingUnitImageCollectionInterface
- Interface SellingUnitImagesCollectionInterface
Table of Contents
- $position : int
- $values : array<string|int, SellingUnitImageInterface>
- __construct() : mixed
- SellingUnitImagesCollection constructor.
- count() : int
- current() : SellingUnitImageInterface
- jsonSerialize() : mixed
- key() : mixed
- next() : void
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- valid() : bool
- getImagesBySourceType() : array<string|int, mixed>
- sort() : void
Properties
$position
protected
int
$position
= 0
$values
protected
array<string|int, SellingUnitImageInterface>
$values
= []
Methods
__construct()
SellingUnitImagesCollection constructor.
public
__construct([array<string|int, SellingUnitImageInterface> $images = [] ]) : mixed
Parameters
- $images : array<string|int, SellingUnitImageInterface> = []
Return values
mixed —count()
public
count() : int
Tags
Return values
int —current()
public
current() : SellingUnitImageInterface
Tags
Return values
SellingUnitImageInterface —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 —getImagesBySourceType()
protected
getImagesBySourceType(string $type) : array<string|int, mixed>
Parameters
- $type : string
Return values
array<string|int, mixed> —sort()
protected
sort() : void