[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] cvs: peardoc /en/package/datetime/calendar intro-overview.xml
From: "romainBourdon" <romain () php ! net>
Date: 2004-03-31 19:00:41
Message-ID: cvsromain1080759641 () cvsserver
[Download RAW message or body]
romain Wed Mar 31 14:00:41 2004 EDT
Modified files:
/peardoc/en/package/datetime/calendar intro-overview.xml
Log:
Deleted double entry Calendar_Week
http://cvs.php.net/diff.php/peardoc/en/package/datetime/calendar/intro-overview.xml?r1=1.6&r2=1.7&ty=u
Index: peardoc/en/package/datetime/calendar/intro-overview.xml
diff -u peardoc/en/package/datetime/calendar/intro-overview.xml:1.6 \
peardoc/en/package/datetime/calendar/intro-overview.xml:1.7
--- peardoc/en/package/datetime/calendar/intro-overview.xml:1.6 Wed Mar 24 10:39:00 \
2004
+++ peardoc/en/package/datetime/calendar/intro-overview.xml Wed Mar 31 14:00:41 2004
@@ -1,4 +1,4 @@
-<!-- $Id: intro-overview.xml,v 1.6 2004/03/24 15:39:00 didou Exp $ -->
+<!-- $Id: intro-overview.xml,v 1.7 2004/03/31 19:00:41 romain Exp $ -->
<refentry id="package.datetime.calendar.intro-overview">
<refnamediv>
<refname>Package Overview</refname>
@@ -52,7 +52,7 @@
</para>
</refsect1>
<refsect1 id="package.datetime.calendar.intro-overview.tabular">
- <title>Tabular Date Classes</title>
+ <title>Tabular Date Classes</title>
<para>Designed for building calendars in tabular format. All are subclasses \
of <classname>Calendar</classname> so provide the methods defined there.</para> \
<para> <itemizedlist>
@@ -71,11 +71,6 @@
</para>
<para>Include with <programlisting role="php"><![CDATA[ require_once \
'Calendar/Week.php'; ]]></programlisting>.</para> </listitem>
- <listitem>
- <para><classname>Calendar_Week</classname> - builds \
<classname>Calendar_Day</classname> objects, setting the <function>isEmpty</function> \
state if necessary and representing a tabular week in a month (i.e. you get 7 days \
from it).
- </para>
- <para>Include with <programlisting role="php"><![CDATA[ require_once \
'Calendar/Week.php'; ]]></programlisting>.</para>
- </listitem>
</itemizedlist>
</para>
</refsect1>
@@ -96,7 +91,7 @@
</para>
</refsect1>
<refsect1 id="package.datetime.calendar.intro-overview.decorators">
- <title>Decorators</title>
+ <title>Decorators</title>
<para>Provide a mechanism to add functionality to the main calendar objects \
(the subclasses of <classname>Calendar</classname>) without needing to directly \
extend them (and risk overwriting fields accidentally). When you create a decorator, \
you pass its constructor an instance of an existing calendar object. You can then \
make calls to the decorator in exactly the same way as you make calls to the original \
calendar object. This allows you to "overwrite" calendar methods, add new methods or \
even apply multiple decorators to the same calendar object. Decorators a typically \
either "injected" (via selection or the \
<classname>Calendar_Decorator_Wrapper</classname> decorator) into the loop where the \
calendar is rendered and / or to alter the output content (e.g. convert a numeric \
month into a textual month: 1 => January).</para> <para>
PEAR::Calendar provides some decorator implementations for you, to help with \
common tasks. These are not designed to suit everyone and hence are provided as \
optional code for you to use as needed (avoiding the performance cost associated with \
parsing code you're not using).
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic