Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $iterable, callable $callback) | |
count () | |
current () | |
This iterator is expected to be called in combination with another iterator (or traversable/array) in order to apply a mapping on the returned current element during an iterative (foreach etc.) process.
GNU GPL v2+
SMW\Iterators\MappingIterator::__construct | ( | $iterable, | |
callable | $callback | ||
) |
Iterator | array | $iterable | |
callable | $callback |
SMW\Iterators\MappingIterator::count | ( | ) |
SMW\Iterators\MappingIterator::current | ( | ) |