Method | Description | |
---|---|---|
__construct ( |
||
count ( ) | ||
delete ( ) | ||
dump ( $filename ) | ||
getBytes ( ) | ||
getFilename ( ) | ||
getMd5Checksum ( ) | ||
getMongoGridFsFile ( ) : MongoGridFSFile | Get instance of native mongo file | |
getResource ( ) | ||
save ( ) |
public __construct ( |
||
$gridFS | instance of GridFS | |
$file | array | MongoGridFSFile | instance of File or metadata array |
public getMongoGridFsFile ( ) : MongoGridFSFile | ||
return | MongoGridFSFile |