PHP Class Shanty_Mongo_Iterator_Default

Author: Coen Hyde
Inheritance: implements SeekableIterator, implements RecursiveIterator, implements Countable
Afficher le fichier Open project: coen-hyde/shanty-mongo

Protected Properties

Свойство Type Description
$_counter
$_document
$_init
$_position
$_properties

Méthodes publiques

Méthode Description
__construct ( Shanty_Mongo_Document $document )
count ( ) : integer Count all properties
current ( ) : mixed Get the current value
getChildren ( ) * Get children
getDocument ( ) : Shanty_Mongo_Document Get the document
getDocumentProperties ( ) : array Get the properties
hasChildren ( ) : boolean Determine if the current node has an children
key ( ) : string Get the current key
next ( ) Move next
rewind ( ) Rewind the iterator
seek ( unknown_type $position ) Seek to a position
valid ( ) : boolean Is the current position valid

Method Details

__construct() public méthode

public __construct ( Shanty_Mongo_Document $document )
$document Shanty_Mongo_Document

count() public méthode

Count all properties
public count ( ) : integer
Résultat integer

current() public méthode

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

getChildren() public méthode

* Get children
public getChildren ( )

getDocument() public méthode

Get the document
public getDocument ( ) : Shanty_Mongo_Document
Résultat Shanty_Mongo_Document

getDocumentProperties() public méthode

Get the properties
public getDocumentProperties ( ) : array
Résultat array

hasChildren() public méthode

Determine if the current node has an children
public hasChildren ( ) : boolean
Résultat boolean

key() public méthode

Get the current key
public key ( ) : string
Résultat string

next() public méthode

Move next
public next ( )

rewind() public méthode

Rewind the iterator
public rewind ( )

seek() public méthode

Seek to a position
public seek ( unknown_type $position )
$position unknown_type

valid() public méthode

Is the current position valid
public valid ( ) : boolean
Résultat boolean

Property Details

$_counter protected_oe property

protected $_counter

$_document protected_oe property

protected $_document

$_init protected_oe property

protected $_init

$_position protected_oe property

protected $_position

$_properties protected_oe property

protected $_properties