Fix markup

It is important to use <classname> for classes, not <function>, 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
This commit is contained in:
Hannes Magnusson 2012-11-28 04:43:24 +00:00
parent 73836fe836
commit 17517b0dfb

View file

@ -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 @@ object(MongoCode)#1 (2) {
<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.