Mongo
PHP Manual

The MongoGridFS class

Введение

Utilities for storing and retreiving files from the database.

Class synopsis

MongoGridFS
extends MongoCollection {
/* Methods */
__construct ( MongoDB $db [, string $files= NULL [, string $chunks= NULL ]] )
public array drop ( void )
public MongoGridFSCursor find ([ array $query= array() [, array $fields= array() ]] )
public MongoGridFSFile findOne ([ mixed $query= array() ] )
public boolean remove ([ array $criteria= array() [, boolean $just_one= FALSE ]] )
public MongoId storeFile ( string $filename [, array $extra= array() ] )
public mixed storeUpload ( string $name [, string $filename ] )
}

Содержание


Mongo
PHP Manual