Skip to content

Commit 2f0c125

Browse files
authored
Remove incorrect function tags from titles in Yaf examples (#951)
1 parent 8551c6f commit 2f0c125

File tree

9 files changed

+41
-26
lines changed

9 files changed

+41
-26
lines changed

reference/imagick/book.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 10a34d49b54eacd49d481fea5203378b04796bc3 Maintainer: Luffy Status: ready -->
4-
3+
<!-- EN-Revision: 9a5b92a30888d6423db112f07a9b344cf6fc4891 Maintainer: Luffy Status: ready -->
54
<book xml:id="book.imagick" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
65
<?phpdoc extension-membership="pecl" ?>
76
<title> 图像处理(ImageMagick)</title>
87
<titleabbrev>ImageMagick</titleabbrev>
9-
8+
109
<!-- {{{ preface -->
1110
<preface xml:id="intro.imagick">
1211
&reftitle.intro;
1312
<para>
13+
&warn.experimental;
1414
Imagick 是用 ImageMagic API 来创建和修改图像的PHP官方扩展。
1515
</para>
1616
<!-- {{{ About Imagick -->
@@ -29,7 +29,7 @@
2929

3030
</preface>
3131
<!-- }}} -->
32-
32+
3333
&reference.imagick.setup;
3434
&reference.imagick.constants;
3535
&reference.imagick.examples;

reference/svm/book.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 68c2c871505aadf983f16113c5b077b335ce8d76 Maintainer: 陈金 Status: ready -->
4-
<!-- CREDITS: mowangjuanzi -->
3+
<!-- State: experimental -->
4+
<!-- EN-Revision: 9a5b92a30888d6423db112f07a9b344cf6fc4891 Maintainer: 陈金 Status: ready -->
5+
<!-- CREDITS: mowangjuanzi, Luffy -->
56
<book xml:id="book.svm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
67
<?phpdoc extension-membership="pecl" ?>
78
<title>支持向量机</title>
@@ -10,6 +11,7 @@
1011
<preface xml:id="intro.svm">
1112
&reftitle.intro;
1213
<para>
14+
&warn.experimental;
1315
LibSVM 是 SVM 分类和回归问题的有效解决方案。svm 扩展将其包装在 PHP 接口中,以便在 PHP 脚本中轻松使用。
1416
</para>
1517
</preface>

reference/svn/book.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: aa4ea6fd0a6f00adaceea6e2dc030c2508ce47ac Maintainer: mowangjuanzi Status: ready -->
3+
<!-- State: experimental -->
4+
<!-- EN-Revision: 9a5b92a30888d6423db112f07a9b344cf6fc4891 Maintainer: mowangjuanzi Status: ready -->
5+
<!-- CREDITS: Luffy -->
46
<book xml:id="book.svn" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
57
<?phpdoc extension-membership="pecl" ?>
68
<title>Subversion</title>

reference/yaf/yaf_route_map/construct.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ecaa2146429a7f88de40dfce14718afc896b74c5 Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: b37bddfde36975bf6bf06ce98867e62d489d49c5 Maintainer: mowangjuanzi Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="yaf-route-map.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
56
<refnamediv>
67
<refname>Yaf_Route_Map::__construct</refname>
@@ -51,7 +52,7 @@
5152
<refsect1 role="examples">
5253
&reftitle.examples;
5354
<example>
54-
<title><function>Yaf_Route_Map</function> 示例</title>
55+
<title><classname>Yaf_Route_Map</classname> 示例</title>
5556
<programlisting role="php">
5657
<![CDATA[
5758
<?php
@@ -76,7 +77,7 @@ array(
7677
</screen>
7778
</example>
7879
<example>
79-
<title><function>Yaf_Route_Map</function> 示例</title>
80+
<title><classname>Yaf_Route_Map</classname> 示例</title>
8081
<programlisting role="php">
8182
<![CDATA[
8283
<?php
@@ -108,7 +109,7 @@ array(
108109
</screen>
109110
</example>
110111
<example>
111-
<title><function>Yaf_Route_Map</function> 示例</title>
112+
<title><classname>Yaf_Route_Map</classname> 示例</title>
112113
<programlisting role="php">
113114
<![CDATA[
114115
<?php

reference/yaf/yaf_route_regex/construct.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ecaa2146429a7f88de40dfce14718afc896b74c5 Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: b37bddfde36975bf6bf06ce98867e62d489d49c5 Maintainer: mowangjuanzi Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="yaf-route-regex.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
56
<refnamediv>
67
<refname>Yaf_Route_Regex::__construct</refname>
@@ -87,7 +88,7 @@
8788
<refsect1 role="examples">
8889
&reftitle.examples;
8990
<example>
90-
<title><function>Yaf_Route_Regex</function> 示例</title>
91+
<title><classname>Yaf_Route_Regex</classname> 示例</title>
9192
<programlisting role="php">
9293
<![CDATA[
9394
<?php
@@ -111,7 +112,7 @@
111112
</programlisting>
112113
</example>
113114
<example>
114-
<title><function>Yaf_Route_Regex</function>(从 2.3.0 起)示例</title>
115+
<title><classname>Yaf_Route_Regex</classname>(从 2.3.0 起)示例</title>
115116
<programlisting role="php">
116117
<![CDATA[
117118
<?php
@@ -135,7 +136,7 @@
135136
</programlisting>
136137
</example>
137138
<example>
138-
<title><function>Yaf_Route_Regex</function> 和命名捕获组(从 2.3.0 起)示例</title>
139+
<title><classname>Yaf_Route_Regex</classname> 和命名捕获组(从 2.3.0 起)示例</title>
139140
<programlisting role="php">
140141
<![CDATA[
141142
<?php
@@ -159,7 +160,7 @@
159160
</programlisting>
160161
</example>
161162
<example>
162-
<title><function>Yaf_Route_Regex</function> 示例</title>
163+
<title><classname>Yaf_Route_Regex</classname> 示例</title>
163164
<programlisting role="php">
164165
<![CDATA[
165166
<?php

reference/yaf/yaf_route_rewrite/construct.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ecaa2146429a7f88de40dfce14718afc896b74c5 Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: b37bddfde36975bf6bf06ce98867e62d489d49c5 Maintainer: mowangjuanzi Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="yaf-route-rewrite.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
56
<refnamediv>
67
<refname>Yaf_Route_Rewrite::__construct</refname>
@@ -66,7 +67,7 @@
6667
<refsect1 role="examples">
6768
&reftitle.examples;
6869
<example>
69-
<title><function>Yaf_Route_Rewrite</function> 示例</title>
70+
<title><classname>Yaf_Route_Rewrite</classname> 示例</title>
7071
<programlisting role="php">
7172
<![CDATA[
7273
<?php
@@ -108,7 +109,7 @@ array(
108109
</screen>
109110
</example>
110111
<example>
111-
<title><function>Yaf_Route_Rewrite</function> 示例</title>
112+
<title><classname>Yaf_Route_Rewrite</classname> 示例</title>
112113
<programlisting role="php">
113114
<![CDATA[
114115
<?php
@@ -152,7 +153,7 @@ array(
152153
</screen>
153154
</example>
154155
<example>
155-
<title><function>Yaf_Route_Rewrite</function>(自 2.3.0 起)示例</title>
156+
<title><classname>Yaf_Route_Rewrite</classname>(自 2.3.0 起)示例</title>
156157
<programlisting role="php">
157158
<![CDATA[
158159
<?php

reference/yaf/yaf_route_supervar/construct.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 73fae4ee51b644b72028e610abefefced57c18ad Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: b37bddfde36975bf6bf06ce98867e62d489d49c5 Maintainer: mowangjuanzi Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="yaf-route-supervar.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
56
<refnamediv>
67
<refname>Yaf_Route_Supervar::__construct</refname>
@@ -42,7 +43,7 @@
4243
<refsect1 role="examples">
4344
&reftitle.examples;
4445
<example>
45-
<title><function>Yaf_Route_Supervar</function> 示例</title>
46+
<title><classname>Yaf_Route_Supervar</classname> 示例</title>
4647
<programlisting role="php">
4748
<![CDATA[
4849
<?php

reference/yaf/yaf_view_simple/construct.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ecaa2146429a7f88de40dfce14718afc896b74c5 Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: b37bddfde36975bf6bf06ce98867e62d489d49c5 Maintainer: mowangjuanzi Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="yaf-view-simple.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
56
<refnamediv>
67
<refname>Yaf_View_Simple::__construct</refname>
@@ -60,7 +61,7 @@
6061
<refsect1 role="examples">
6162
&reftitle.examples;
6263
<example>
63-
<title><function>Yaf_View_Simple::__constructor</function> 示例</title>
64+
<title><methodname>Yaf_View_Simple::__construct</methodname> 示例</title>
6465
<programlisting role="php">
6566
<![CDATA[
6667
<?php

reference/zip/ziparchive.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 45234c31bbca01df99daf96c51f1410808148eef Maintainer: dallas Status: ready -->
4-
<!-- CREDITS: mowangjuanzi -->
3+
<!-- EN-Revision: c0e48705eb88453af785e0e4a6cbd526085dfe3a Maintainer: dallas Status: ready -->
4+
<!-- CREDITS: mowangjuanzi, Luffy -->
55
<reference xml:id="class.ziparchive" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
66
<title> <classname>ZipArchive</classname> 类</title>
77
<titleabbrev>ZipArchive</titleabbrev>
@@ -482,6 +482,12 @@
482482
<type>int</type>
483483
<varname linkend="ziparchive.constants.er-not-allowed">ZipArchive::ER_NOT_ALLOWED</varname>
484484
</fieldsynopsis>
485+
<fieldsynopsis>
486+
<modifier>public</modifier>
487+
<modifier>const</modifier>
488+
<type>int</type>
489+
<varname linkend="ziparchive.constants.er-truncated-zip">ZipArchive::ER_TRUNCATED_ZIP</varname>
490+
</fieldsynopsis>
485491
<fieldsynopsis>
486492
<modifier>public</modifier>
487493
<modifier>const</modifier>

0 commit comments

Comments
 (0)