PHP Class Shanty_Mongo_Iterator_Cursor

Author: Coen Hyde
Inheritance: implements OuterIterator
Afficher le fichier Open project: coen-hyde/shanty-mongo Class Usage Examples

Protected Properties

Свойство Type Description
$_config
$_cursor

Méthodes publiques

Méthode Description
__call ( $method, $arguments )
__construct ( MongoCursor $cursor, $config )
count ( $all = false )
current ( ) : mixed Get the current value
export ( ) : array Export all data
getDocumentClass ( ) : string Get the document class
getDocumentSetClass ( ) : string Get the document set class
getInnerIterator ( ) : MongoCursor Get the inter iterator
getNext ( )
info ( )
key ( )
makeDocumentSet ( ) : Shanty_Mongo_DocumentSet Construct a document set from this cursor
next ( )
rewind ( )
valid ( )

Method Details

__call() public méthode

public __call ( $method, $arguments )

__construct() public méthode

public __construct ( MongoCursor $cursor, $config )
$cursor MongoCursor

count() public méthode

public count ( $all = false )

current() public méthode

Get the current value
public current ( ) : mixed
Résultat mixed

export() public méthode

Export all data
public export ( ) : array
Résultat array

getDocumentClass() public méthode

Get the document class
public getDocumentClass ( ) : string
Résultat string

getDocumentSetClass() public méthode

Get the document set class
public getDocumentSetClass ( ) : string
Résultat string

getInnerIterator() public méthode

Get the inter iterator
public getInnerIterator ( ) : MongoCursor
Résultat MongoCursor

getNext() public méthode

public getNext ( )

info() public méthode

public info ( )

key() public méthode

public key ( )

makeDocumentSet() public méthode

Construct a document set from this cursor
public makeDocumentSet ( ) : Shanty_Mongo_DocumentSet
Résultat Shanty_Mongo_DocumentSet

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( )

Property Details

$_config protected_oe property

protected $_config

$_cursor protected_oe property

protected $_cursor