svn: /phpdoc/it/trunk/reference/ sqlite3/sqlite3/escapestring.xml
| From: | Davide Pastore | Date: | Mon, 27 Jun 2016 23:04:31 +0000 |
| Subject: | svn: /phpdoc/it/trunk/reference/ sqlite3/sqlite3/escapestring.xml | ||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-1986@lists.php.net to get a copy of this message | ||
pastore Mon, 27 Jun 2016 23:04:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339511
Log:
Sync with EN
Changed paths:
A phpdoc/it/trunk/reference/sqlite3/
A phpdoc/it/trunk/reference/sqlite3/sqlite3/
A phpdoc/it/trunk/reference/sqlite3/sqlite3/escapestring.xml
Added: phpdoc/it/trunk/reference/sqlite3/sqlite3/escapestring.xml
===================================================================
--- phpdoc/it/trunk/reference/sqlite3/sqlite3/escapestring.xml (rev 0)
+++ phpdoc/it/trunk/reference/sqlite3/sqlite3/escapestring.xml 2016-06-27 23:04:31 UTC (rev 339511)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 339508 Maintainer: pastore Status: ready -->
+
+<refentry xml:id="sqlite3.escapestring" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SQLite3::escapeString</refname>
+ <refpurpose>Restituisce una stringa su cui è stato correttamente effettuato
l'escape</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <modifier>static</modifier>
<type>string</type><methodname>SQLite3::escapeString</methodname>
+
<methodparam><type>string</type><parameter>value</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Restituisce una stringa su cui è stato correttamente effettuato l'escape per
l'inclusione sicura in
+ un'istruzione SQL.
+ </para>
+ ¬e.not-bin-safe;
+ <para>
+ Per gestire correttamente campi BLOB che possono contenere caratteri NUL, utilizzare
+ invece <function>SQLite3Stmt::bindParam</function>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>value</parameter></term>
+ <listitem>
+ <para>
+ La stringa su cui effettuare l'escape.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Restituisce una stringa su cui è stato correttamente effettuato l'escape che può essere
usata tranquillamente in
+ un'istruzione SQL.
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <warning>
+ <simpara>
+ <function>addslashes</function> <emphasis>NON</emphasis> dovrebbe
essere usata per
+ mettere fra virgolette le stringhe per le query SQLite; porterà a strani risultati
+ quando si leggeranno i dati.
+ </simpara>
+ </warning>
+ </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
+-->