svn: /phpdoc/en/trunk/reference/mongo/ mongo/listdbs.xml versions.xml

From: Date: Wed, 03 Feb 2010 23:13:57 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ mongo/listdbs.xml versions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6016@lists.php.net to get a copy of this message
kristina Wed, 03 Feb 2010 23:13:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294483 Log: added listdbs Changed paths: A phpdoc/en/trunk/reference/mongo/mongo/listdbs.xml U phpdoc/en/trunk/reference/mongo/versions.xml Added: phpdoc/en/trunk/reference/mongo/mongo/listdbs.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongo/listdbs.xml (rev 0) +++ phpdoc/en/trunk/reference/mongo/mongo/listdbs.xml 2010-02-03 23:13:57 UTC (rev 294483) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Revision$ --> +<refentry xml:id="mongo.listdbs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname><function>Mongo::listDBs</function></refname> + <refpurpose>Lists all of the databases available.</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>array</type><methodname>Mongo::listDBs</methodname> + <void/> + </methodsynopsis> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an associative array containing three fields. The first field is + <literal>databases</literal>, which in turn contains an array. Each element + of the array is an associative array corresponding to a database, giving the + database's name, size, and if it's empty. The other two fields are + <literal>totalSize</literal> (in bytes) and <literal>ok</literal>, which is 1 + if this method ran successfully. + </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 +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/en/trunk/reference/mongo/mongo/listdbs.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Modified: phpdoc/en/trunk/reference/mongo/versions.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/versions.xml 2010-02-03 23:12:20 UTC (rev 294482) +++ phpdoc/en/trunk/reference/mongo/versions.xml 2010-02-03 23:13:57 UTC (rev 294483) @@ -20,6 +20,7 @@ <function name='mongo::dropdb' from='PECL mongo &gt;=0.9.0'/> <function name='mongo::selectdb' from='PECL mongo &gt;=0.9.0'/> <function name='mongo::selectcollection' from='PECL mongo &gt;=0.9.0'/> + <function name='mongo::listdbs' from='PECL mongo &gt;=1.0.4'/> <!-- MongoDB --> <function name='mongodb::__construct' from='PECL mongo &gt;=0.9.0'/> <function name='mongodb::__tostring' from='PECL mongo &gt;=0.9.0'/>

« previous php.doc.cvs (#6016) next »