adding title to an 'big' example + adding ; at the end of a line

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199711 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jean-Sébastien Goupil 2005-11-01 16:28:17 +00:00
parent dbc2cfe684
commit e610eb1970

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<sect1 id="language.oop5.basic">
<title>The Basics</title>
@ -17,7 +17,8 @@
belongs, but can be another object, if the method is called
<link linkend="language.oop5.static">statically</link> from the context
of a secondary object). This is illustrated in the following example:
<informalexample>
<example>
<title><varname>$this</varname> variable in object-oriented language</title>
<programlisting role="php">
<![CDATA[
<?php
@ -61,7 +62,7 @@ $this is defined (b)
$this is not defined.
]]>
</screen>
</informalexample>
</example>
</para>
<example>
<title>Simple Class definition</title>
@ -98,7 +99,7 @@ class SimpleClass
<programlisting role="php">
<![CDATA[
<?php
$instance = new SimpleClass()
$instance = new SimpleClass();
?>
]]>
</programlisting>