svn: /phpdoc/bg/trunk/reference/mysql/functions/ mysql-close.xml

[email protected] (Stanislav Yordanov) Fri, 25 Dec 2015 22:14:48 +0000
Newsgroups php.doc.bg
Message-ID <[email protected]>
stanprog                                 Fri, 25 Dec 2015 22:14:48 +0000

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

Log:
sync to EN

Changed paths:
    U   phpdoc/bg/trunk/reference/mysql/functions/mysql-close.xml

Modified: phpdoc/bg/trunk/reference/mysql/functions/mysql-close.xml
===================================================================
--- phpdoc/bg/trunk/reference/mysql/functions/mysql-close.xml	2015-12-25 22:00:51 UTC (rev 338361)
+++ phpdoc/bg/trunk/reference/mysql/functions/mysql-close.xml	2015-12-25 22:14:48 UTC (rev 338362)
@@ -1,17 +1,28 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 337721 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: yes Maintainer: stanprog -->
 <refentry xml:id="function.mysql-close" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>mysql_close</refname>
   <refpurpose>Прекъсва връзка с MySQL сървър</refpurpose>
  </refnamediv>
-
+
+ <refsynopsisdiv>
+  <warning>
+   &mysql.alternative.note;
+   <simplelist role="alternatives">
+    <member><function>mysqli_close</function></member>
+    <member>PDO: Присвоява стойност &null; на PDO обекта</member>
+   </simplelist>
+   </warning>
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>mysql_close</methodname>
-   <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
+   <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter><initializer>NULL</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>mysql_close</function> прекъсва непостоянна връзка с MySQL сървър,
@@ -19,32 +30,25 @@
    <parameter>link_identifier</parameter>, ще бъде затворена последно
    отворената връзка.
   </para>
-  <para>
-   Употребата на <function>mysql_close</function> обикновено не е
-   необходима, тъй като връзките които не са постоянни ще бъдат
-   автоматично прекъснати след края на изпълнението на скрипта.
-   Вж. също
-   <link linkend="language.types.resource.self-destruct">освобождаване на
-   ресурси</link>.
-  </para>
+  &mysql.close.connections.result.sets;
  </refsect1>
-
+
  <refsect1 role="parameters">
   &reftitle.parameters;
   <para>
    <variablelist>
-    &mysql.linkid.description;
+    &mysql.linkid-noreopen.description;
    </variablelist>
   </para>
  </refsect1>
-
+
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
    &return.success;
   </para>
  </refsect1>
-
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -71,17 +75,19 @@
    </example>
   </para>
  </refsect1>
-
+
  <refsect1 role="notes">
   &reftitle.notes;
   <note>
    <para>
     <function>mysql_close</function> няма да прекъсне постоянните връзки
     създадени от <function>mysql_pconnect</function>.
+    За повече информация, вижте страницата от ръководството посветена на
+    <link linkend="features.persistent-connections">постоянните връзки</link>.
    </para>
   </note>
  </refsect1>
-
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>