From 17517b0dfb63243fa13b9935931118b68c51101d Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 28 Nov 2012 04:43:24 +0000 Subject: [PATCH] Fix markup It is important to use for classes, not , so PhD knows how to handle it properly git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328524 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocode/construct.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/mongo/mongocode/construct.xml b/reference/mongo/mongocode/construct.xml index 472c6569ca..4057ee51d6 100644 --- a/reference/mongo/mongocode/construct.xml +++ b/reference/mongo/mongocode/construct.xml @@ -54,7 +54,7 @@ &reftitle.examples; - <function>MongoCode::__construct</function> example + <mehtodname>MongoCode::__construct</methodname> example - Using <function>MongoCode</function> with $where + Using <classname>MongoCode</classname> with $where 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.