Re: svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3/ open.xml
| From: | Hannes Magnusson | Date: | Thu, 12 May 2011 10:23:37 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3/ open.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-8095@lists.php.net to get a copy of this message | ||
On Tue, May 10, 2011 at 10:42, Adam Harvey <aharvey@php.net> wrote:
> aharvey Tue, 10 May 2011 08:42:55 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=310878
>
> Log:
> Update the documentation per bug #54691 (SQLite3::open() Return Value).
>
> Bug: http://bugs.php.net/54691 (Duplicate) SQLite3::open()
> Return Value
>
> Changed paths:
> U phpdoc/en/trunk/reference/sqlite3/sqlite3/open.xml
>
> Modified: phpdoc/en/trunk/reference/sqlite3/sqlite3/open.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/sqlite3/sqlite3/open.xml 2011-05-10 08:14:55 UTC (rev 310877)
> +++ phpdoc/en/trunk/reference/sqlite3/sqlite3/open.xml 2011-05-10 08:42:55 UTC (rev 310878)
> @@ -10,7 +10,7 @@
> <refsect1 role="description">
> &reftitle.description;
> <methodsynopsis>
> - <modifier>public</modifier>
> <type>bool</type><methodname>SQLite3::open</methodname>
> + <modifier>public</modifier>
> <type>void</type><methodname>SQLite3::open</methodname>
>
> <methodparam><type>string</type><parameter>filename</parameter></methodparam>
> <methodparam
> choice="opt"><type>int</type><parameter>flags</parameter><initializer>SQLITE3_OPEN_READWRITE
> | SQLITE3_OPEN_CREATE</initializer></methodparam>
> <methodparam
> choice="opt"><type>string</type><parameter>encryption_key</parameter></methodparam>
> @@ -79,7 +79,7 @@
> <refsect1 role="returnvalues">
> &reftitle.returnvalues;
> <para>
> - Returns &true; on success, &false; on failure to open the database.
> + &return.void;
Maybe add role="errors" and mention it throws exceptions on failure?
-Hannes