svn: /phpdoc/de/trunk/reference/sqlite3/sqlite3/ prepare.xml

[email protected] (Bastian Feder)
Newsgroups php.doc.de
Message-ID <[email protected]>
lapistano                                Mon, 25 Oct 2010 11:55:48 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=304777

Log:
intitial translation

Changed paths:
    A   phpdoc/de/trunk/reference/sqlite3/sqlite3/prepare.xml

Added: phpdoc/de/trunk/reference/sqlite3/sqlite3/prepare.xml
===================================================================
--- phpdoc/de/trunk/reference/sqlite3/sqlite3/prepare.xml	                        (rev 0)
+++ phpdoc/de/trunk/reference/sqlite3/sqlite3/prepare.xml	2010-10-25 11:55:48 UTC (rev 304777)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 290987 Maintainer: lapistano Status: ready -->
+
+<refentry xml:id="sqlite3.prepare" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>SQLite3::prepare</refname>
+  <refpurpose>Bereitet eine SQL-Anweisung für die Ausführung vor.</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>SQLite3Stmt</type><methodname>SQLite3::prepare</methodname>
+   <methodparam><type>string</type><parameter>query</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Bereitet eine SQL-Anweisung für die Ausführung vor und gibt ein <classname>SQLite3Stmt</classname> zurück.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>query</parameter></term>
+     <listitem>
+      <para>
+       Die vorzubereitende SQL-Anfrage.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Gibt im Erfolgsfall ein <classname>SQLite3Stmt</classname>-Objekt zurück oder &return.falseforfailure;.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>SQLite3::prepare</function> example</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+unlink('mysqlitedb.db');
+$db = new SQLite3('mysqlitedb.db');
+
+$db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');
+$db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
+
+$stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id');
+$stmt->bindValue(':id', 1, SQLITE3_INTEGER);
+
+$result = $stmt->execute();
+var_dump($result->fetchArray());
+?>
+]]>
+    </programlisting>
+   </example>
+  </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
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/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
+-->


Property changes on: phpdoc/de/trunk/reference/sqlite3/sqlite3/prepare.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + LastChangedDate LastChangedRevision LastChangedBy HeardURL Id
Added: svn:eol-style
   + LF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.