ProductModifierDisplayTypeCollection
in package
implements
Countable, Iterator, ArrayAccess
Class ProductModifierDisplayTypeCollection
Interfaces, Classes and Traits
- Countable
- Iterator
- ArrayAccess
Table of Contents
- $position : int
- $values : array<string|int, AbstractProductModifierDisplayType>
- __construct() : mixed
- ProductModifierDisplayTypeCollection constructor.
- addProductModifierDisplayType() : void
- count() : int
- current() : mixed
- getProductModifierDisplayTypeByName() : AbstractProductModifierDisplayType
- key() : mixed
- next() : void
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- valid() : bool
Properties
$position
protected
int
$position
= 0
$values
protected
array<string|int, AbstractProductModifierDisplayType>
$values
= []
Methods
__construct()
ProductModifierDisplayTypeCollection constructor.
public
__construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
- $values : array<string|int, mixed> = []
Return values
mixed —addProductModifierDisplayType()
public
addProductModifierDisplayType(AbstractProductModifierDisplayType $displayType) : void
Parameters
- $displayType : AbstractProductModifierDisplayType
Return values
void —count()
public
count() : int
Tags
Return values
int —current()
public
current() : mixed
Tags
Return values
mixed —getProductModifierDisplayTypeByName()
public
getProductModifierDisplayTypeByName(string $name) : AbstractProductModifierDisplayType
Parameters
- $name : string
Tags
Return values
AbstractProductModifierDisplayType —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