attempting to remove the blank lines after programlistings
This commit is contained in:
parent
d6b1d49022
commit
90393b12dd
@ -147,10 +147,7 @@
|
|||||||
<programlisting role="php"><![CDATA[
|
<programlisting role="php"><![CDATA[
|
||||||
<?php
|
<?php
|
||||||
require_once('path-to-doctrine/lib/Doctrine.php');
|
require_once('path-to-doctrine/lib/Doctrine.php');
|
||||||
?>
|
?>]]></programlisting>
|
||||||
]]>
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Doctrine support <ulink
|
Doctrine support <ulink
|
||||||
url="http://www.php.net/autoload">Autoloading</ulink> for including
|
url="http://www.php.net/autoload">Autoloading</ulink> for including
|
||||||
@ -167,9 +164,7 @@
|
|||||||
function __autoload($class) {
|
function __autoload($class) {
|
||||||
Doctrine::autoload($class);
|
Doctrine::autoload($class);
|
||||||
}
|
}
|
||||||
?>
|
?>]]></programlisting>
|
||||||
]]>
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If your project uses autoload and/or you have other libraries that use
|
If your project uses autoload and/or you have other libraries that use
|
||||||
@ -181,9 +176,7 @@
|
|||||||
<programlisting role="php"><![CDATA[
|
<programlisting role="php"><![CDATA[
|
||||||
<?php
|
<?php
|
||||||
spl_autoload_register(array('Doctrine', 'autoload'));
|
spl_autoload_register(array('Doctrine', 'autoload'));
|
||||||
?>
|
?>]]></programlisting>
|
||||||
]]>
|
|
||||||
</programlisting>
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="compiling">
|
<sect1 id="compiling">
|
||||||
@ -201,10 +194,7 @@
|
|||||||
|
|
||||||
// on some other script:
|
// on some other script:
|
||||||
require_once('path_to_doctrine/Doctrine.compiled.php');
|
require_once('path_to_doctrine/Doctrine.compiled.php');
|
||||||
?>
|
?>]]></programlisting>
|
||||||
]]>
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
@ -277,9 +267,7 @@
|
|||||||
print $phonenumber."\n";
|
print $phonenumber."\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>]]></programlisting>
|
||||||
]]>
|
|
||||||
</programlisting>
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user