cvs: phpdoc /en/reference/mysqli/mysqli_result fetch-object.xml
| From: | Kalle Sommer Nielsen | Date: | Sun, 26 Oct 2008 12:21:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/mysqli/mysqli_result fetch-object.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2302@lists.php.net to get a copy of this message | ||
kalle Sun Oct 26 12:21:19 2008 UTC
Modified files:
/phpdoc/en/reference/mysqli/mysqli_result fetch-object.xml
Log:
Fixes #46301 (Missing argument documentation on mysqli_result::fetch_object)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml
diff -u phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml:1.2
phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml:1.3
--- phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml:1.2 Wed Jan 2 13:58:46 2008
+++ phpdoc/en/reference/mysqli/mysqli_result/fetch-object.xml Sun Oct 26 12:21:19 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="mysqli-result.fetch-object" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli_result::fetch_object</refname>
@@ -38,6 +38,8 @@
<term><parameter>class_name</parameter></term>
<listitem>
<para>
+ The name of the class to instantiate, set the properties of and return.
+ If not specified, a <classname>stdClass</classname> object is returned.
</para>
</listitem>
</varlistentry>
@@ -45,6 +47,8 @@
<term><parameter>params</parameter></term>
<listitem>
<para>
+ An optional <type>array</type> of parameters to pass to the constructor
+ for <parameter>class_name</parameter> objects.
</para>
</listitem>
</varlistentry>