mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
73836fe836
commit
17517b0dfb
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue