Iterators
AppendIterator::append
Iterators
PHP Manual
The AppendIterator class
简介
Iterate over multiple collections.
类摘要
AppendIterator
extends
IteratorIterator
implements
OuterIterator
,
Traversable
,
Iterator
{
/* 方法 */
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
)
/* 继承的方法 */
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