svn: /phpdoc/en/trunk/reference/pdo_sqlite/PDO/ sqliteCreateAggregate.xml
| From: | Chris Wright | Date: | Mon, 01 Sep 2014 22:44:12 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pdo_sqlite/PDO/ sqliteCreateAggregate.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12778@lists.php.net to get a copy of this message | ||
daverandom Mon, 01 Sep 2014 22:44:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334715
Log:
Add return types and usage description for PDO::sqliteCreateAggregate() callbacks
--
Provided by anonymous 47653 (klapinklapin@gmail.com)
Changed paths:
U phpdoc/en/trunk/reference/pdo_sqlite/PDO/sqliteCreateAggregate.xml
Modified: phpdoc/en/trunk/reference/pdo_sqlite/PDO/sqliteCreateAggregate.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo_sqlite/PDO/sqliteCreateAggregate.xml 2014-09-01 21:22:39 UTC (rev
334714)
+++ phpdoc/en/trunk/reference/pdo_sqlite/PDO/sqliteCreateAggregate.xml 2014-09-01 22:44:12 UTC (rev
334715)
@@ -53,7 +53,7 @@
<para>
This function need to be defined as:
<methodsynopsis>
- <methodname><replaceable>step</replaceable></methodname>
+
<type>mixed</type><methodname><replaceable>step</replaceable></methodname>
<methodparam><type>mixed</type><parameter>context</parameter></methodparam>
<methodparam><type>int</type><parameter>rownumber</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
@@ -70,6 +70,11 @@
<para>
<varname>rownumber</varname> will hold the current row number.
</para>
+ <para>
+ The return value of this function will be used as the
+ <parameter>context</parameter> argument in the next call of the step or
+ finalize functions.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
@@ -86,7 +91,7 @@
<para>
This function need to be defined as:
<methodsynopsis>
- <methodname><replaceable>fini</replaceable></methodname>
+
<type>mixed</type><methodname><replaceable>fini</replaceable></methodname>
<methodparam><type>mixed</type><parameter>context</parameter></methodparam>
<methodparam><type>int</type><parameter>rownumber</parameter></methodparam>
</methodsynopsis>