cvs: phpdoc /en/reference/mongo book.xml constants.xml mongodbref.xml mongogridfscursor.xml versions.xml /en/reference/mongo/mongo
selectcollection.xml /en/reference/mongo/mongodbref create.xml get.xml isref.xml /en/reference/mongo/mongogridfscursor construct.xml current.xml
getnext.xml key.xml /en/reference/mongo/mongogridfsfile getfilename.xml getsize.xml
| From: | Kristina Chodorow | Date: | Thu, 21 May 2009 14:33:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/mongo book.xml constants.xml mongodbref.xml mongogridfscursor.xml versions.xml /en/reference/mongo/mongo selectcollection.xml /en/reference/mongo/mongodbref create.xml get.xml isref.xml /en/reference/mongo/mongogridfscursor construct.xml current.xml getnext.xml key.xml /en/reference/mongo/mongogridfsfile getfilename.xml getsize.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4044@lists.php.net to get a copy of this message | ||
kristina Thu May 21 14:33:17 2009 UTC
Added files:
/phpdoc/en/reference/mongo mongodbref.xml mongogridfscursor.xml
/phpdoc/en/reference/mongo/mongodbref create.xml get.xml isref.xml
/phpdoc/en/reference/mongo/mongogridfscursor construct.xml
current.xml
getnext.xml key.xml
Modified files:
/phpdoc/en/reference/mongo book.xml constants.xml versions.xml
/phpdoc/en/reference/mongo/mongo selectcollection.xml
/phpdoc/en/reference/mongo/mongogridfsfile getfilename.xml
getsize.xml
Log:
cursor and ref classes, constants
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/book.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/book.xml diff -u phpdoc/en/reference/mongo/book.xml:1.5 phpdoc/en/reference/mongo/book.xml:1.6 --- phpdoc/en/reference/mongo/book.xml:1.5 Wed May 20 22:31:39 2009 +++ phpdoc/en/reference/mongo/book.xml Thu May 21 14:33:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <book xml:id="book.mongo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Mongo</title> @@ -38,13 +38,15 @@ &reference.mongo.mongocursor; &reference.mongo.mongogridfs; &reference.mongo.mongogridfsfile; + &reference.mongo.mongogridfscursor; &reference.mongo.mongoutil; - &reference.mongo.mongocode; &reference.mongo.mongoid; + &reference.mongo.mongocode; &reference.mongo.mongodate; &reference.mongo.mongoregex; &reference.mongo.mongobindata; + &reference.mongo.mongodbref; </book> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/constants.xml diff -u phpdoc/en/reference/mongo/constants.xml:1.5 phpdoc/en/reference/mongo/constants.xml:1.6 --- phpdoc/en/reference/mongo/constants.xml:1.5 Tue Mar 24 18:46:00 2009 +++ phpdoc/en/reference/mongo/constants.xml Thu May 21 14:33:16 2009 @@ -1,83 +1,183 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <appendix xml:id="mongo.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; - &no.constants; - <para> - <table xml:id="mongo.client-flags"> - <title>Mongo Comparison Operators</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Constant</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>MONGO_LT</entry> - <entry>Less than</entry> - </row> - <row> - <entry>MONGO_LTE</entry> - <entry>Less than or equal to</entry> - </row> - <row> - <entry>MONGO_GT</entry> - <entry>Greater than</entry> - </row> - <row> - <entry>MONGO_GTE</entry> - <entry>Greater than or equal to</entry> - </row> - <row> - <entry>MONGO_IN</entry> - <entry>In the given set</entry> - </row> - <row> - <entry>MONGO_NE</entry> - <entry>Not equal to</entry> - </row> - </tbody> - </tgroup> - </table> - </para> + &extension.constants; + + <variablelist> + <varlistentry> + <term><constant>Mongo::DEFAULT_HOST</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + "localhost" + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>Mongo::DEFAULT_PORT</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + 27017 + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_OFF</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn off database profiling + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_SLOW</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn on database profiling for slow operations + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_ON</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn on database profiling for all operations + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::LT</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Less than + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::LTE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Less than or equal to + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::GT</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Greater than + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::GTE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Greater than or equal to + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::IN</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + In + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::NE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Not equal + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::ASC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Ascending + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::DESC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Descending + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_ARRAY</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Default binary type: an array of bytes + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_UUID</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Universal unique id + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_MD5</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + MD5 type + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_CUSTOM</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + User-defined binary type + </simpara> + </listitem> + </varlistentry> + </variablelist> - <para> - The following constants are for setting up database profiling. - <table> - <title>Mongo Profiling Constants</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Constant</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>MONGO_PROFILING_OFF</entry> - <entry> - Turn off profiling. - </entry> - </row> - <row> - <entry>MONGO_PROFILING_SLOW</entry> - <entry> - Only keep track of slow operations. - </entry> - </row> - <row> - <entry>MONGO_PROFILING_ON</entry> - <entry> - Keep track of all operations. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> </appendix> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/versions.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/versions.xml diff -u phpdoc/en/reference/mongo/versions.xml:1.5 phpdoc/en/reference/mongo/versions.xml:1.6 --- phpdoc/en/reference/mongo/versions.xml:1.5 Wed May 20 22:31:39 2009 +++ phpdoc/en/reference/mongo/versions.xml Thu May 21 14:33:16 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- Do NOT translate this file --> @@ -73,6 +73,7 @@ <function name='mongocursor::reset' from='PECL mongo >=0.9.0'/> <function name='mongocursor::rewind' from='PECL mongo >=0.9.0'/> <function name='mongocursor::valid' from='PECL mongo >=0.9.0'/> + <function name='mongocursor::key' from='PECL mongo >=0.9.0'/> <!-- MongoUtil --> <function name='mongoutil::dbcommand' from='PECL mongo >=0.9.0'/> <function name='mongoutil::toindexstring' from='PECL mongo >=0.9.0'/> @@ -90,6 +91,11 @@ <function name='mongogridfsfile::getfilename' from='PECL mongo >=0.9.0'/> <function name='mongogridfsfile::getsize' from='PECL mongo >=0.9.0'/> <function name='mongogridfsfile::write' from='PECL mongo >=0.9.0'/> + <!-- MongoGridFSCursor --> + <function name='mongogridfscursor::__construct' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::getnext' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::current' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::key' from='PECL mongo >=0.9.0'/> <!-- MongoId --> <function name='mongoid::__construct' from='PECL mongo >= 0.8.0'/> @@ -106,6 +112,10 @@ <!-- MongoCode --> <function name='mongocode::__construct' from='PECL mongo >= 0.8.3'/> <function name='mongocode::__tostring' from='PECL mongo >= 0.8.3'/> + <!-- MongoDBRef --> + <function name='mongodbref::create' from='PECL mongo >= 0.9.0'/> + <function name='mongodbref::isref' from='PECL mongo >= 0.9.0'/> + <function name='mongodbref::get' from='PECL mongo >= 0.9.0'/> </versions> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongo/selectcollection.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/mongo/mongo/selectcollection.xml diff -u phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.2 phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.3 --- phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.2 Thu May 21 07:26:21 2009 +++ phpdoc/en/reference/mongo/mongo/selectcollection.xml Thu May 21 14:33:16 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry xml:id="mongo.selectcollection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname><function>Mongo::selectCollection</function></refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoCollection</type><methodname>Mongo::selectCollection</methodname> - <methodparam><type>string</type><type>MongoDB</type><parameter>db</parameter></methodparam> + <methodparam><type>string|MongoDB</type><parameter>db</parameter></methodparam> <methodparam><type>string</type><parameter>collection</parameter></methodparam> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml diff -u phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.1 phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.2 --- phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.1 Wed May 20 22:31:40 2009 +++ phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml Thu May 21 14:33:16 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="mongogridfsfile.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> - <refname>MongoGridfsFile::getFilename</refname> + <refname>MongoGridFSFile::getFilename</refname> <refpurpose>Returns this file's filename</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>MongoGridfsFile::getFilename</methodname> + <modifier>public</modifier> <type>string</type><methodname>MongoGridFSFile::getFilename</methodname> <void/> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml diff -u phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.1 phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.2 --- phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.1 Wed May 20 22:31:40 2009 +++ phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml Thu May 21 14:33:16 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="mongogridfsfile.getsize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> - <refname>MongoGridfsFile::getSize</refname> + <refname>MongoGridFSFile::getSize</refname> <refpurpose>Returns this file's size</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>MongoGridfsFile::getSize</methodname> + <modifier>public</modifier> <type>int</type><methodname>MongoGridFSFile::getSize</methodname> <void/> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref.xml +++ phpdoc/en/reference/mongo/mongodbref.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.mongodbref" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The MongoDBRef class</title> <titleabbrev>MongoDBRef</titleabbrev> <partintro> <!-- {{{ MongoGridfsCursor intro --> <section xml:id="mongodbref.intro"> &reftitle.intro; <para> This class can be used to create lightweight links between objects in different collections. </para> </section> <!-- }}} --> <section xml:id="mongodbref.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>MongoDBRef</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>MongoDBRef</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodbref')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.mongo.entities.mongodbref; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor.xml +++ phpdoc/en/reference/mongo/mongogridfscursor.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.mongogridfscursor" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The MongoGridFSCursor class</title> <titleabbrev>MongoGridFSCursor</titleabbrev> <partintro> <!-- {{{ MongoGridfsCursor intro --> <section xml:id="mongogridfsfile.intro"> &reftitle.intro; <para> Cursor for database file results. </para> </section> <!-- }}} --> <section xml:id="mongogridfscursor.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>MongoGridFSCursor</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <modifier>extends</modifier> <classname>MongoCursor</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongogridfscursor')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.mongo.entities.mongogridfscursor; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/create.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/create.xml +++ phpdoc/en/reference/mongo/mongodbref/create.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::create</refname> <refpurpose>Creates a new database reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>MongoDBRef::create</methodname> <methodparam><type>string</type><parameter>ns</parameter></methodparam> <methodparam><type>MongoId</type><parameter>id</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>ns</parameter> </term> <listitem> <para> Database and collection name. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>id</parameter> </term> <listitem> <para> The id of the object to link. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the reference. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/get.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/get.xml +++ phpdoc/en/reference/mongo/mongodbref/get.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::get</refname> <refpurpose>Fetches the object pointed to by a reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>MongoDBRef::get</methodname> <methodparam><type>MongoDB</type><parameter>db</parameter></methodparam> <methodparam><type>array</type><parameter>ref</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>db</parameter> </term> <listitem> <para> Database to use. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>ref</parameter> </term> <listitem> <para> Reference to fetch. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the object or &null;. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/isref.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/isref.xml +++ phpdoc/en/reference/mongo/mongodbref/isref.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.isref" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::isRef</refname> <refpurpose>Checks if an array is a database reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>boolean</type><methodname>MongoDBRef::isRef</methodname> <methodparam><type>array</type><parameter>ref</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>ref</parameter> </term> <listitem> <para> Array to check. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns if <literal>ref</literal> is a reference. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/construct.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::__construct</refname> <refpurpose>Create a new cursor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>MongoGridFSCursor::__construct</methodname> <methodparam><type>MongoGridFS</type><parameter>gridfs</parameter></methodparam> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> <methodparam><type>string</type><parameter>ns</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>query</parameter><initializer>array()</initializer></methodparam> <methodparam choice="opt"><type>array</type><parameter>fields</parameter><initializer>array()</initializer></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>gridfs</parameter> </term> <listitem> <para> Related GridFS collection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>connection</parameter> </term> <listitem> <para> Database connection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>ns</parameter> </term> <listitem> <para> Full name of database and collection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>query</parameter> </term> <listitem> <para> Database query. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>fields</parameter> </term> <listitem> <para> Fields to return. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the new cursor. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/current.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/current.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/current.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.current" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::current</refname> <refpurpose>Returns the current file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoGridFSFile</type><methodname>MongoGridFSCursor::current</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The current file. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.getnext" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::getNext</refname> <refpurpose>Return the next file to which this cursor points, and advance the cursor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoGridFSFile</type><methodname>MongoGridFSCursor::getNext</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the next file. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/key.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/key.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/key.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.key" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::key</refname> <refpurpose>Returns the current result's filename</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>MongoGridFSCursor::key</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The current result's filename. </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:"../../../../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 -->
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/book.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/book.xml diff -u phpdoc/en/reference/mongo/book.xml:1.5 phpdoc/en/reference/mongo/book.xml:1.6 --- phpdoc/en/reference/mongo/book.xml:1.5 Wed May 20 22:31:39 2009 +++ phpdoc/en/reference/mongo/book.xml Thu May 21 14:33:16 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <book xml:id="book.mongo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Mongo</title> @@ -38,13 +38,15 @@ &reference.mongo.mongocursor; &reference.mongo.mongogridfs; &reference.mongo.mongogridfsfile; + &reference.mongo.mongogridfscursor; &reference.mongo.mongoutil; - &reference.mongo.mongocode; &reference.mongo.mongoid; + &reference.mongo.mongocode; &reference.mongo.mongodate; &reference.mongo.mongoregex; &reference.mongo.mongobindata; + &reference.mongo.mongodbref; </book> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/constants.xml diff -u phpdoc/en/reference/mongo/constants.xml:1.5 phpdoc/en/reference/mongo/constants.xml:1.6 --- phpdoc/en/reference/mongo/constants.xml:1.5 Tue Mar 24 18:46:00 2009 +++ phpdoc/en/reference/mongo/constants.xml Thu May 21 14:33:16 2009 @@ -1,83 +1,183 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <appendix xml:id="mongo.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; - &no.constants; - <para> - <table xml:id="mongo.client-flags"> - <title>Mongo Comparison Operators</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Constant</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>MONGO_LT</entry> - <entry>Less than</entry> - </row> - <row> - <entry>MONGO_LTE</entry> - <entry>Less than or equal to</entry> - </row> - <row> - <entry>MONGO_GT</entry> - <entry>Greater than</entry> - </row> - <row> - <entry>MONGO_GTE</entry> - <entry>Greater than or equal to</entry> - </row> - <row> - <entry>MONGO_IN</entry> - <entry>In the given set</entry> - </row> - <row> - <entry>MONGO_NE</entry> - <entry>Not equal to</entry> - </row> - </tbody> - </tgroup> - </table> - </para> + &extension.constants; + + <variablelist> + <varlistentry> + <term><constant>Mongo::DEFAULT_HOST</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + "localhost" + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>Mongo::DEFAULT_PORT</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + 27017 + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_OFF</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn off database profiling + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_SLOW</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn on database profiling for slow operations + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoDB::PROFILING_ON</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Turn on database profiling for all operations + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::LT</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Less than + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::LTE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Less than or equal to + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::GT</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Greater than + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::GTE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Greater than or equal to + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::IN</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + In + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::NE</constant> + (<type>string</type>) + </term> + <listitem> + <simpara> + Not equal + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::ASC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Ascending + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::DESC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Descending + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_ARRAY</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Default binary type: an array of bytes + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_UUID</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Universal unique id + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_MD5</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + MD5 type + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>MongoUtil::BIN_CUSTOM</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + User-defined binary type + </simpara> + </listitem> + </varlistentry> + </variablelist> - <para> - The following constants are for setting up database profiling. - <table> - <title>Mongo Profiling Constants</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Constant</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>MONGO_PROFILING_OFF</entry> - <entry> - Turn off profiling. - </entry> - </row> - <row> - <entry>MONGO_PROFILING_SLOW</entry> - <entry> - Only keep track of slow operations. - </entry> - </row> - <row> - <entry>MONGO_PROFILING_ON</entry> - <entry> - Keep track of all operations. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> </appendix> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/versions.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mongo/versions.xml diff -u phpdoc/en/reference/mongo/versions.xml:1.5 phpdoc/en/reference/mongo/versions.xml:1.6 --- phpdoc/en/reference/mongo/versions.xml:1.5 Wed May 20 22:31:39 2009 +++ phpdoc/en/reference/mongo/versions.xml Thu May 21 14:33:16 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- Do NOT translate this file --> @@ -73,6 +73,7 @@ <function name='mongocursor::reset' from='PECL mongo >=0.9.0'/> <function name='mongocursor::rewind' from='PECL mongo >=0.9.0'/> <function name='mongocursor::valid' from='PECL mongo >=0.9.0'/> + <function name='mongocursor::key' from='PECL mongo >=0.9.0'/> <!-- MongoUtil --> <function name='mongoutil::dbcommand' from='PECL mongo >=0.9.0'/> <function name='mongoutil::toindexstring' from='PECL mongo >=0.9.0'/> @@ -90,6 +91,11 @@ <function name='mongogridfsfile::getfilename' from='PECL mongo >=0.9.0'/> <function name='mongogridfsfile::getsize' from='PECL mongo >=0.9.0'/> <function name='mongogridfsfile::write' from='PECL mongo >=0.9.0'/> + <!-- MongoGridFSCursor --> + <function name='mongogridfscursor::__construct' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::getnext' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::current' from='PECL mongo >=0.9.0'/> + <function name='mongogridfscursor::key' from='PECL mongo >=0.9.0'/> <!-- MongoId --> <function name='mongoid::__construct' from='PECL mongo >= 0.8.0'/> @@ -106,6 +112,10 @@ <!-- MongoCode --> <function name='mongocode::__construct' from='PECL mongo >= 0.8.3'/> <function name='mongocode::__tostring' from='PECL mongo >= 0.8.3'/> + <!-- MongoDBRef --> + <function name='mongodbref::create' from='PECL mongo >= 0.9.0'/> + <function name='mongodbref::isref' from='PECL mongo >= 0.9.0'/> + <function name='mongodbref::get' from='PECL mongo >= 0.9.0'/> </versions> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongo/selectcollection.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/mongo/mongo/selectcollection.xml diff -u phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.2 phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.3 --- phpdoc/en/reference/mongo/mongo/selectcollection.xml:1.2 Thu May 21 07:26:21 2009 +++ phpdoc/en/reference/mongo/mongo/selectcollection.xml Thu May 21 14:33:16 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry xml:id="mongo.selectcollection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname><function>Mongo::selectCollection</function></refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoCollection</type><methodname>Mongo::selectCollection</methodname> - <methodparam><type>string</type><type>MongoDB</type><parameter>db</parameter></methodparam> + <methodparam><type>string|MongoDB</type><parameter>db</parameter></methodparam> <methodparam><type>string</type><parameter>collection</parameter></methodparam> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml diff -u phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.1 phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.2 --- phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml:1.1 Wed May 20 22:31:40 2009 +++ phpdoc/en/reference/mongo/mongogridfsfile/getfilename.xml Thu May 21 14:33:16 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="mongogridfsfile.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> - <refname>MongoGridfsFile::getFilename</refname> + <refname>MongoGridFSFile::getFilename</refname> <refpurpose>Returns this file's filename</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>MongoGridfsFile::getFilename</methodname> + <modifier>public</modifier> <type>string</type><methodname>MongoGridFSFile::getFilename</methodname> <void/> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml diff -u phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.1 phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.2 --- phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml:1.1 Wed May 20 22:31:40 2009 +++ phpdoc/en/reference/mongo/mongogridfsfile/getsize.xml Thu May 21 14:33:16 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="mongogridfsfile.getsize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> - <refname>MongoGridfsFile::getSize</refname> + <refname>MongoGridFSFile::getSize</refname> <refpurpose>Returns this file's size</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>MongoGridfsFile::getSize</methodname> + <modifier>public</modifier> <type>int</type><methodname>MongoGridFSFile::getSize</methodname> <void/> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref.xml +++ phpdoc/en/reference/mongo/mongodbref.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.mongodbref" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The MongoDBRef class</title> <titleabbrev>MongoDBRef</titleabbrev> <partintro> <!-- {{{ MongoGridfsCursor intro --> <section xml:id="mongodbref.intro"> &reftitle.intro; <para> This class can be used to create lightweight links between objects in different collections. </para> </section> <!-- }}} --> <section xml:id="mongodbref.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>MongoDBRef</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>MongoDBRef</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodbref')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.mongo.entities.mongodbref; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor.xml +++ phpdoc/en/reference/mongo/mongogridfscursor.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.mongogridfscursor" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The MongoGridFSCursor class</title> <titleabbrev>MongoGridFSCursor</titleabbrev> <partintro> <!-- {{{ MongoGridfsCursor intro --> <section xml:id="mongogridfsfile.intro"> &reftitle.intro; <para> Cursor for database file results. </para> </section> <!-- }}} --> <section xml:id="mongogridfscursor.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>MongoGridFSCursor</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <modifier>extends</modifier> <classname>MongoCursor</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongogridfscursor')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.mongo.entities.mongogridfscursor; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/create.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/create.xml +++ phpdoc/en/reference/mongo/mongodbref/create.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::create</refname> <refpurpose>Creates a new database reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>MongoDBRef::create</methodname> <methodparam><type>string</type><parameter>ns</parameter></methodparam> <methodparam><type>MongoId</type><parameter>id</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>ns</parameter> </term> <listitem> <para> Database and collection name. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>id</parameter> </term> <listitem> <para> The id of the object to link. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the reference. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/get.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/get.xml +++ phpdoc/en/reference/mongo/mongodbref/get.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::get</refname> <refpurpose>Fetches the object pointed to by a reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>MongoDBRef::get</methodname> <methodparam><type>MongoDB</type><parameter>db</parameter></methodparam> <methodparam><type>array</type><parameter>ref</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>db</parameter> </term> <listitem> <para> Database to use. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>ref</parameter> </term> <listitem> <para> Reference to fetch. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the object or &null;. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodbref/isref.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongodbref/isref.xml +++ phpdoc/en/reference/mongo/mongodbref/isref.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongodbref.isref" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoDBRef::isRef</refname> <refpurpose>Checks if an array is a database reference</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>boolean</type><methodname>MongoDBRef::isRef</methodname> <methodparam><type>array</type><parameter>ref</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>ref</parameter> </term> <listitem> <para> Array to check. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns if <literal>ref</literal> is a reference. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/construct.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::__construct</refname> <refpurpose>Create a new cursor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>MongoGridFSCursor::__construct</methodname> <methodparam><type>MongoGridFS</type><parameter>gridfs</parameter></methodparam> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> <methodparam><type>string</type><parameter>ns</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>query</parameter><initializer>array()</initializer></methodparam> <methodparam choice="opt"><type>array</type><parameter>fields</parameter><initializer>array()</initializer></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>gridfs</parameter> </term> <listitem> <para> Related GridFS collection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>connection</parameter> </term> <listitem> <para> Database connection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>ns</parameter> </term> <listitem> <para> Full name of database and collection. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>query</parameter> </term> <listitem> <para> Database query. </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>fields</parameter> </term> <listitem> <para> Fields to return. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the new cursor. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/current.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/current.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/current.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.current" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::current</refname> <refpurpose>Returns the current file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoGridFSFile</type><methodname>MongoGridFSCursor::current</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The current file. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/getnext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.getnext" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::getNext</refname> <refpurpose>Return the next file to which this cursor points, and advance the cursor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>MongoGridFSFile</type><methodname>MongoGridFSCursor::getNext</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the next file. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongogridfscursor/key.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mongo/mongogridfscursor/key.xml +++ phpdoc/en/reference/mongo/mongogridfscursor/key.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mongogridfscursor.key" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoGridFSCursor::key</refname> <refpurpose>Returns the current result's filename</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>MongoGridFSCursor::key</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The current result's filename. </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:"../../../../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 -->