ArrayIterator::valid
CachingIterator::__construct
Iterators
PHP Manual
CachingIterator クラス
導入
...
クラス概要
CachingIterator
CachingIterator
extends
IteratorIterator
implements
OuterIterator
,
Traversable
,
Iterator
,
ArrayAccess
,
Countable
{
/* メソッド */
CachingIterator::__construct
(
Iterator
$iterator
[,
string
$flags
] )
public
void
CachingIterator::count
(
void
)
public
void
CachingIterator::current
(
void
)
public
void
CachingIterator::getCache
(
void
)
public
void
CachingIterator::getFlags
(
void
)
public
void
CachingIterator::getInnerIterator
(
void
)
bool
CachingIterator::hasNext
(
void
)
public
void
CachingIterator::key
(
void
)
void
CachingIterator::next
(
void
)
public
void
CachingIterator::offsetExists
(
string
$index
)
public
void
CachingIterator::offsetGet
(
string
$index
)
public
void
CachingIterator::offsetSet
(
string
$index
,
string
$newval
)
public
void
CachingIterator::offsetUnset
(
string
$index
)
void
CachingIterator::rewind
(
void
)
public
void
CachingIterator::setFlags
(
bitmask
$flags
)
string
CachingIterator::__toString
(
void
)
bool
CachingIterator::valid
(
void
)
}
目次
CachingIterator::__construct
— Construct a new CachingIterator object for the iterator.
CachingIterator::count
— The number of elements in the iterator
CachingIterator::current
— Return the current element
CachingIterator::getCache
— The getCache purpose
CachingIterator::getFlags
— Get flags used
CachingIterator::getInnerIterator
— Return the innter iterator
CachingIterator::hasNext
— 内部イテレータが有効な次の要素を持つかどうかをチェックする
CachingIterator::key
— Return the key for the current element
CachingIterator::next
— イテレータを前方に移動する
CachingIterator::offsetExists
— The offsetExists purpose
CachingIterator::offsetGet
— The offsetGet purpose
CachingIterator::offsetSet
— The offsetSet purpose
CachingIterator::offsetUnset
— The offsetUnset purpose
CachingIterator::rewind
— イテレータを巻き戻す
CachingIterator::setFlags
— The setFlags purpose
CachingIterator::__toString
— 現在の要素の文字列表現を返す
CachingIterator::valid
— 現在の要素が有効かどうかをチェックする
ArrayIterator::valid
CachingIterator::__construct
Iterators
PHP Manual