MongoGridFSFile::getSize
MongoGridFSCursor
MongoGridFSFile
PHP Manual

# MongoGridFSFile::write

(PECL mongo >=0.9.0)

MongoGridFSFile::write — Writes this file to the filesystem

### 설명

public int MongoGridFSFile::write ([ string `$filename`= `NULL` ] )

### 인수

`filename`

  The location to which to write the file. If none is given, the stored filename will be used.

### 반환값

Returns the number of bytes written.

MongoGridFSFile::getSize
MongoGridFSCursor
MongoGridFSFile
PHP Manual