mirror of
https://github.com/macintoshplus/doc-en.git
synced 2026-03-27 10:22:11 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177066 c90b9560-bf6c-de11-be94-00142212c4b1
50 lines
1.7 KiB
XML
Executable File
50 lines
1.7 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.5 $ -->
|
|
<refentry id="function.sqlite-factory">
|
|
<refnamediv>
|
|
<refname>sqlite_factory</refname>
|
|
<refpurpose>Opens a SQLite database and returns an SQLiteDatabase object</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>SQLiteDatabase</type><methodname>sqlite_factory</methodname>
|
|
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
|
<methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter role="reference">error_message</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>sqlite_factory</function> behaves similarly to
|
|
<function>sqlite_open</function> in that it opens an SQLite database or
|
|
attempts to create it if it does not exist. However, a
|
|
<link linkend="sqlite.class.sqlitedatabase">SQLiteDatabase</link> object is
|
|
returned rather than a procedural resource. Please see the
|
|
<function>sqlite_open</function> reference page for usage and caveats.
|
|
</para>
|
|
<para>
|
|
See also <function>sqlite_open</function> and
|
|
<function>sqlite_popen</function>.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|