Iterators
AppendIterator::append
Iterators
PHP Manual
The AppendIterator class
소개
Iterate over multiple collections.
클래스 개요
AppendIterator
AppendIterator
extends
IteratorIterator
implements
OuterIterator
,
Traversable
,
Iterator
{
/* Methods */
public
void
append
(
Iterator
$iterator
)
__construct
(
void
)
public
void
current
(
void
)
public
void
getArrayIterator
(
void
)
public
void
getInnerIterator
(
void
)
public
void
getIteratorIndex
(
void
)
public
void
key
(
void
)
public
void
next
(
void
)
public
void
rewind
(
void
)
public
void
valid
(
void
)
/* Inherited methods */
IteratorIterator::__construct
(
Traversable
$iterator
)
public
void
IteratorIterator::current
(
void
)
public
void
IteratorIterator::getInnerIterator
(
void
)
public
void
IteratorIterator::key
(
void
)
public
void
IteratorIterator::next
(
void
)
public
void
IteratorIterator::rewind
(
void
)
public
bool
IteratorIterator::valid
(
void
)
}
Table of Contents
AppendIterator::append
— Appends an iterator
AppendIterator::__construct
— Constructs an AppendIterator
AppendIterator::current
— Gets the current value
AppendIterator::getArrayIterator
— The getArrayIterator method
AppendIterator::getInnerIterator
— Gets an inner iterator
AppendIterator::getIteratorIndex
— Gets an index of iterators
AppendIterator::key
— Gets the current key
AppendIterator::next
— Moves to the next element
AppendIterator::rewind
— Rewinds the Iterator
AppendIterator::valid
— Checks validity of the current element
Iterators
AppendIterator::append
Iterators
PHP Manual