Esempio n. 1
0
 /**
  * Wrapper method for MongoCursor::valid().
  *
  * @see http://php.net/manual/en/iterator.valid.php
  * @see http://php.net/manual/en/mongocursor.valid.php
  * @return boolean
  */
 public function valid()
 {
     return $this->mongoCursor->valid();
 }
Esempio n. 2
0
 /**
  * Iterator: valid
  * @return bool
  */
 public function valid()
 {
     return $this->_cursor->valid();
 }
Esempio n. 3
0
 /**
  * Iterator::valid
  *
  * @return bool
  */
 public function valid()
 {
     return $this->myResultCursor->valid();
 }