Author: Frederik Holljen
Date: 2006-01-27 15:13:42 +0100 (Fri, 27 Jan 2006)
New Revision: 2063
Log:
Minor cleanups in the tutorial
Modified:
packages/Mail/trunk/docs/tutorial.txt
Modified: packages/Mail/trunk/docs/tutorial.txt
===================================================================
--- packages/Mail/trunk/docs/tutorial.txt 2006-01-27 14:12:02 UTC (rev
2062)
+++ packages/Mail/trunk/docs/tutorial.txt 2006-01-27 14:13:42 UTC (rev
2063)
@@ -66,8 +66,8 @@
.. include:: tutorial_example_02.php
:literal:
-As you can see there is not much difference with the composer version. In the
-next example we will add an attachment to our manually built mail:
+As you can see there is not much difference compared to the composer version.
+In the next example we will add an attachment to our manually built mail:
.. include:: tutorial_example_03.php
:literal:
@@ -95,9 +95,9 @@
Our new class extends the ezcMailPart class. This is required for all parts of
a mail. ezcMailPart provides two important methods that we can override:
-generateHeaders() and generateBody(). These two methods are called in
-succession by the parent part and should return the headers and the body text
-of the part.
+ezcMailPart::generateHeaders() and ezcMailPart::generateBody(). These two
+methods are called in succession by the parent part and should return the
+headers and the body text of the part.
We don't need to override generateHeaders() since we can simply set the headers
we want directly on the object. We do need to override generateBody() however,
since we want to include the full text of the mail digest.
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components