deprecate stuff

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299313 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2010-05-12 22:32:56 +00:00
parent 9bd7ff8479
commit b8c30464d0
4 changed files with 22 additions and 5 deletions

View file

@ -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">

View file

@ -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>

View file

@ -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>

View file

@ -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;