didou Wed Jul 16 13:17:21 2003 EDT
Modified files:
/phpdoc/en/reference/objaggregation reference.xml
Log:
adding PHP tags in the examples
Index: phpdoc/en/reference/objaggregation/reference.xml
diff -u phpdoc/en/reference/objaggregation/reference.xml:1.8
phpdoc/en/reference/objaggregation/reference.xml:1.9
--- phpdoc/en/reference/objaggregation/reference.xml:1.8 Thu Jul 3 06:01:37
2003
+++ phpdoc/en/reference/objaggregation/reference.xml Wed Jul 16 13:17:20 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<reference id="ref.objaggregation">
<title>Object Aggregation/Composition Functions</title>
<titleabbrev>Object Aggregation</titleabbrev>
@@ -28,6 +28,7 @@
<title>Class association</title>
<programlisting role="php">
<![CDATA[
+<?php
class DateTime {
function DateTime() {
@@ -56,6 +57,7 @@
}
$rep = new Report();
+?>
]]>
</programlisting>
</example>
@@ -67,6 +69,7 @@
<title>Object association</title>
<programlisting role="php">
<![CDATA[
+<?php
class DateTime {
// same as previous example
}
@@ -118,6 +121,7 @@
$output = $rep->generateReport();
// save $output in database
// ... etc ...
+?>
]]>
</programlisting>
</example>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php