Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SMW\Iterators\ResultIterator Class Reference
Collaboration diagram for SMW\Iterators\ResultIterator:
Collaboration graph
[legend]

Public Member Functions

 __construct ($res)
 
 count ()
 
 seek ($position)
 
 current ()
 
 key ()
 
 next ()
 
 rewind ()
 
 valid ()
 

Public Attributes

 $res
 
 $position
 
 $current
 
 $isResultWrapper = false
 

Protected Member Functions

 setCurrent ($row)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\Iterators\ResultIterator::__construct (   $res)
Since
2.5
Parameters
ResultWrapper | array$res

Member Function Documentation

SMW\Iterators\ResultIterator::count ( )
See also
Countable::count
Since
2.5
SMW\Iterators\ResultIterator::current ( )
Since
2.5
SMW\Iterators\ResultIterator::key ( )
Since
2.5
SMW\Iterators\ResultIterator::next ( )
Since
2.5
SMW\Iterators\ResultIterator::rewind ( )
Since
2.5
SMW\Iterators\ResultIterator::seek (   $position)
See also
SeekableIterator::seek
Since
2.5
SMW\Iterators\ResultIterator::setCurrent (   $row)
protected
SMW\Iterators\ResultIterator::valid ( )
Since
2.5

Member Data Documentation

SMW\Iterators\ResultIterator::$current
SMW\Iterators\ResultIterator::$isResultWrapper = false
SMW\Iterators\ResultIterator::$position
SMW\Iterators\ResultIterator::$res

The documentation for this class was generated from the following file: