cvs: phpdoc /en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-create-function.xml

From: Date: Sat, 18 Sep 2004 20:01:30 +0000
Subject: cvs: phpdoc /en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-create-function.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364162@lists.php.net to get a copy of this message
vrana Sat Sep 18 16:01:30 2004 EDT Modified files: /phpdoc/en/reference/sqlite/functions sqlite-create-aggregate.xml sqlite-create-function.xml Log: Return value of callback (bug #29266) http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.8 phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.9 --- phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml:1.8 Thu Aug 12 14:11:59 2004 +++ phpdoc/en/reference/sqlite/functions/sqlite-create-aggregate.xml Sat Sep 18 16:01:29 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="function.sqlite-create-aggregate"> <refnamediv> <refname>sqlite_create_aggregate</refname> @@ -30,6 +30,8 @@ Once all the rows have been processed, <parameter>finalize_func</parameter> will be called and it should then take the data from the aggregation context and return the result. + Callback functions should return a type understood by SQLite (not + <type>array</type> for example). </para> <para> <example> http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml:1.10 phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml:1.11 --- phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml:1.10 Thu Aug 12 14:11:59 2004 +++ phpdoc/en/reference/sqlite/functions/sqlite-create-function.xml Sat Sep 18 16:01:29 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id="function.sqlite-create-function"> <refnamediv> <refname>sqlite_create_function</refname> @@ -28,6 +28,8 @@ of the function that you will use in your SQL statements, <parameter>callback</parameter> is any valid PHP callback to specify a PHP function that should be called to handle the SQL function. + Callback function should return a type understood by SQLite (not + <type>array</type> for example). The optional parameter <parameter>num_args</parameter> is used as a hint by the SQLite expression parser/evaluator. It is recommended that you specify a value if your function will only ever accept a fixed number of

« previous php.doc (#969364162) next »