svn: /phpdoc/en/trunk/reference/mongo/mongocode/ construct.xml
| From: | Hannes Magnusson | Date: | Wed, 28 Nov 2012 04:43:24 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocode/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10785@lists.php.net to get a copy of this message | ||
bjori Wed, 28 Nov 2012 04:43:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328524
Log:
Fix markup
It is important to use <classname> for classes, not <function>, so PhD knows how to
handle it properly
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocode/construct.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocode/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocode/construct.xml 2012-11-28 04:38:46 UTC (rev 328523)
+++ phpdoc/en/trunk/reference/mongo/mongocode/construct.xml 2012-11-28 04:43:24 UTC (rev 328524)
@@ -54,7 +54,7 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title><function>MongoCode::__construct</function> example</title>
+ <title><mehtodname>MongoCode::__construct</methodname> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -88,7 +88,7 @@
<example>
- <title>Using <function>MongoCode</function> with $where</title>
+ <title>Using <classname>MongoCode</classname> with $where</title>
<para>
This example queries a collection for elements where the 'x' fields is less than $y.
Notice that
PHP objects can be passed into the JavaScript scope and that the JavaScript function returns a
boolean.