MongoGridFSCursor
PHP Manual

MongoGridFSCursor::key

(PECL mongo >=0.9.0)

MongoGridFSCursor::keyReturns the current result's filename

Description

public string MongoGridFSCursor::key ( void )

Parameters

This function has no parameters.

Return Values

The current result's filename.


MongoGridFSCursor
PHP Manual