svn: /phpdoc/en/trunk/reference/mongo/mongogridfs/ storefile.xml
| From: | Jeremy Mikola | Date: | Thu, 04 Jun 2015 21:12:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongogridfs/ storefile.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13343@lists.php.net to get a copy of this message | ||
jmikola Thu, 04 Jun 2015 21:12:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=336874
Log:
MongoGridFS::storeFile() supports a stream argument
https://jira.mongodb.org/browse/PHP-1447
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongogridfs/storefile.xml
Modified: phpdoc/en/trunk/reference/mongo/mongogridfs/storefile.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongogridfs/storefile.xml 2015-06-04 18:59:04 UTC (rev 336873)
+++ phpdoc/en/trunk/reference/mongo/mongogridfs/storefile.xml 2015-06-04 21:12:35 UTC (rev 336874)
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>mixed</type><methodname>MongoGridFS::storeFile</methodname>
-
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
+
<methodparam><type>string|resource</type><parameter>filename</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>metadata</parameter><initializer>array()</initializer></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
@@ -27,7 +27,7 @@
</term>
<listitem>
<para>
- Name of the file to store.
+ Name of the file or a readable stream to store.
</para>
</listitem>
</varlistentry>