MongoGridFS
PHP Manual

MongoGridFS::delete

(PECL mongo >=1.0.8)

MongoGridFS::deleteDelete a file from the database

Description

public boolean MongoGridFS::delete ( mixed $id )

Parameters

id

_id of the file to remove.

Return Values

Returns if the remove was successfully sent to the database.


MongoGridFS
PHP Manual