didou Wed Feb 18 11:05:39 2004 EDT
Modified files:
/phpdoc/RFC coding_standards
Log:
added a role and CDATA tags
# as mentionned : For longer example printouts, use the <screen> container in
conjunction with <[CDATA[...]]>
http://cvs.php.net/diff.php/phpdoc/RFC/coding_standards?r1=1.4&r2=1.5&ty=u
Index: phpdoc/RFC/coding_standards
diff -u phpdoc/RFC/coding_standards:1.4 phpdoc/RFC/coding_standards:1.5
--- phpdoc/RFC/coding_standards:1.4 Fri Jun 20 12:03:33 2003
+++ phpdoc/RFC/coding_standards Wed Feb 18 11:05:39 2004
@@ -22,11 +22,12 @@
PHP examples should always have programlisting role="php" Only PHP
examples should have this role. Possible roles are:
- - c (C code)
- - html (100% HTML)
- - php (Some PHP)
- - shell (commandline, bash, etc)
- - sql (SQL statements)
+ - c (C code)
+ - html (100% HTML)
+ - php (Some PHP)
+ - shell (commandline, bash, etc)
+ - sql (SQL statements)
+ - apache-conf (Apache)
2. Titles
@@ -234,6 +235,7 @@
The output is:
</para>
<screen>
+<![CDATA[
Array
(
[0] => 'a';
@@ -241,6 +243,7 @@
[2] => 'c';
...
)
+]]>
</screen>
</example>
</para>