« MongoGridFSFile::write
MongoGridFSCursor::__construct »
PHP Manual
Clase GridFS
The MongoGridFSCursor class
The MongoGridFSCursor class
(PECL mongo >=0.9.0)
Introducere
Cursor for database file results.
Sinopsisul clasei
extends
MongoCursor
{
/* Fields */
protected
MongoGridFS
$
gridfs
=
NULL
;
/* Metode */
public
__construct
(
MongoGridFS
$gridfs
,
resource
$connection
,
string
$ns
,
array
$query
,
array
$fields
)
public
current
(
void
) :
MongoGridFSFile
public
getNext
(
void
) :
MongoGridFSFile
public
key
(
void
) :
string
}
Cuprins
MongoGridFSCursor::__construct
— Create a new cursor
MongoGridFSCursor::current
— Returns the current file
MongoGridFSCursor::getNext
— Return the next file to which this cursor points, and advance the cursor
MongoGridFSCursor::key
— Returns the current result's filename