mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
deprecate stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299313 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9bd7ff8479
commit
b8c30464d0
4 changed files with 22 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
<refentry xml:id="mongo.dropdb" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Mongo::dropDB</refname>
|
||||
<refpurpose>Drops a database</refpurpose>
|
||||
<refpurpose>Drops a database [deprecated]</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
@ -13,6 +13,14 @@
|
|||
<modifier>public</modifier> <type>array</type><methodname>Mongo::dropDB</methodname>
|
||||
<methodparam><type>mixed</type><parameter>db</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<warning>
|
||||
<title>Deprecated</title>
|
||||
<para>
|
||||
Use <function>MongoDB::drop</function> instead.
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>MongoCollection</type><methodname>Mongo::selectCollection</methodname>
|
||||
<methodparam><type>string|MongoDB</type><parameter>db</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>db</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>collection</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>MongoDB</type><methodname>Mongo::selectDB</methodname>
|
||||
<methodparam><type>string</type><parameter>dbname</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>name</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>dbname</parameter>
|
||||
<parameter>name</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<refentry xml:id="mongodb.dropcollection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB::dropCollection</refname>
|
||||
<refpurpose>Drops a collection</refpurpose>
|
||||
<refpurpose>Drops a collection [deprecated]</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -12,6 +12,15 @@
|
|||
<modifier>public</modifier> <type>array</type><methodname>MongoDB::dropCollection</methodname>
|
||||
<methodparam><type>mixed</type><parameter>coll</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<warning>
|
||||
<title>Deprecated</title>
|
||||
<para>
|
||||
Use <function>MongoCollection::drop</function> instead. THIS FUNCTION LEAKS
|
||||
MEMORY IN VERSION 1.0.7 AND EARLIER!
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
|
Loading…
Reference in a new issue