OrderArchiveCollection extends CollectionBase
Class CollectionBase
Table of Contents
Methods
- count() : int
- Count elements of an object
- current() : mixed
- Return the current element
- deleteItem() : mixed
- getIterator() : ArrayIterator
- isEmpty() : bool
- Checks if collection is empty.
- key() : mixed
- Return the key of the current element
- loadFromDB() : mixed
- next() : mixed
- Move forward to next element
- offsetExists() : bool
- Whether a offset exists
- offsetGet() : mixed
- Offset to retrieve
- offsetSet() : void
- Offset to set
- offsetUnset() : void
- Offset to unset
- rewind() : mixed
- Rewind the Iterator to the first element
- toArray() : mixed
- valid() : mixed
- Checks if current position is valid
Methods
count()
Count elements of an object
public
count() : int
Return values
intcurrent()
Return the current element
public
current() : mixed
deleteItem()
public
deleteItem(int $index) : mixed
Parameters
- $index : int
Tags
getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorisEmpty()
Checks if collection is empty.
public
isEmpty() : bool
Return values
boolkey()
Return the key of the current element
public
key() : mixed
loadFromDB()
public
loadFromDB(array<string|int, mixed> $parameters) : mixed
Parameters
- $parameters : array<string|int, mixed>
next()
Move forward to next element
public
next() : mixed
offsetExists()
Whether a offset exists
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
Offset to retrieve
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
offsetSet()
Offset to set
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
Offset to unset
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
rewind()
Rewind the Iterator to the first element
public
rewind() : mixed
toArray()
public
toArray() : mixed
valid()
Checks if current position is valid
public
valid() : mixed