cvs: phpdoc /en/reference/datetime book.xml constants.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Sun, 16 Dec 2007 11:35:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime book.xml constants.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-653@lists.php.net to get a copy of this message | ||
bjori Sun Dec 16 11:35:17 2007 UTC
Modified files:
/phpdoc/en/reference/datetime book.xml setup.xml constants.xml
reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- Moved the intro from reference.xml to book.xml
- Change the intro ID to intro.<extname>
- Moved the setup sections to setup.xml
- Changed the constants section to be <appendix>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/book.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/datetime/book.xml
diff -u /dev/null phpdoc/en/reference/datetime/book.xml:1.2
--- /dev/null Sun Dec 16 11:35:17 2007
+++ phpdoc/en/reference/datetime/book.xml Sun Dec 16 11:35:17 2007
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+<!-- Purpose: calendar -->
+<!-- Membership: core -->
+
+<book xml:id="book.datetime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Date and Time</title>
+
+ <!-- {{{ preface -->
+ <preface xml:id="intro.datetime">
+ &reftitle.intro;
+ <para>
+ These functions allow you to get the date and time from the server
+ where your PHP scripts are running. You can use these functions to format the
+ date and time in many different ways.
+ </para>
+ <note>
+ <simpara>
+ Please keep in mind that these functions are dependent on
+ the locale settings of your server. Make sure to take
+ daylight saving time (use e.g.
+ <literal>$date = strtotime('+7 days', $date)</literal> and not
+ <literal>$date += 7*24*60*60</literal>)
+ and leap years into consideration when working
+ with these functions.
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ The timezones referenced in this section can be found in the
+ <xref linkend="timezones"/>.
+ </simpara>
+ </note>
+ </preface>
+ <!-- }}} -->
+
+ &reference.datetime.setup;
+ &reference.datetime.constants;
+ <!-- FIXME: Apparently this extension defines a class.. -->
+ &reference.datetime.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/setup.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/datetime/setup.xml
diff -u /dev/null phpdoc/en/reference/datetime/setup.xml:1.2
--- /dev/null Sun Dec 16 11:35:17 2007
+++ phpdoc/en/reference/datetime/setup.xml Sun Dec 16 11:35:17 2007
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="datetime.setup" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <!-- {{{ Requirements -->
+ <section xml:id="datetime.requirements">
+ &reftitle.required;
+ &no.requirement;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Installation -->
+ <section xml:id="datetime.installation">
+ &reftitle.install;
+ <note>
+ <simpara>
+ The latest version of the timezone database can be installed via PECL's
+ <link
xlink:href="&url.pecl.package.get;timezonedb">timezonedb</link>. For
+ Windows users, a pre-compiled DLL can be downloaded from the PECL4Win
+ site: <link
xlink:href="&url.pecl.timezonedb.dll;">php_timezonedb.dll</link>.
+ </simpara>
+ </note>
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Configuration -->
+ &reference.datetime.ini;
+ <!-- }}} -->
+
+ <!-- {{{ Resources -->
+ <section xml:id="datetime.resources">
+ &reftitle.resources;
+ &no.resource;
+ </section>
+ <!-- }}} -->
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/constants.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/datetime/constants.xml
diff -u phpdoc/en/reference/datetime/constants.xml:1.11
phpdoc/en/reference/datetime/constants.xml:1.12
--- phpdoc/en/reference/datetime/constants.xml:1.11 Wed Jun 20 22:24:18 2007
+++ phpdoc/en/reference/datetime/constants.xml Sun Dec 16 11:35:17 2007
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.11 $ -->
-<section xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook">
+<!-- $Revision: 1.12 $ -->
+<appendix xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
<para>
The following constants are defined since PHP 5.1.1 and they offer standard
@@ -170,7 +170,7 @@
</listitem>
</varlistentry>
</variablelist>
-</section>
+</appendix>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/reference.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/reference/datetime/reference.xml
diff -u phpdoc/en/reference/datetime/reference.xml:1.16
phpdoc/en/reference/datetime/reference.xml:1.17
--- phpdoc/en/reference/datetime/reference.xml:1.16 Mon Dec 10 17:06:02 2007
+++ phpdoc/en/reference/datetime/reference.xml Sun Dec 16 11:35:17 2007
@@ -1,71 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
-<!-- Purpose: calendar -->
-<!-- Membership: core -->
+<!-- $Revision: 1.17 $ -->
- <reference xml:id="ref.datetime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Date and Time Functions</title>
- <titleabbrev>Date/Time</titleabbrev>
- <partintro>
- <section xml:id="datetime.intro">
- &reftitle.intro;
- <para>
- These functions allow you to get the date and time from the server
- where your PHP scripts are running. You can use these functions to format the
- date and time in many different ways.
- </para>
- <note>
- <simpara>
- Please keep in mind that these functions are dependent on
- the locale settings of your server. Make sure to take
- daylight saving time (use e.g.
- <literal>$date = strtotime('+7 days', $date)</literal> and not
- <literal>$date += 7*24*60*60</literal>)
- and leap years into consideration when working
- with these functions.
- </simpara>
- </note>
- <note>
- <simpara>
- The timezones referenced in this section can be found in the
- <xref linkend="timezones"/>.
- </simpara>
- </note>
+<reference xml:id="ref.datetime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Date and Time &Functions;</title>
+ <titleabbrev>Date/Time</titleabbrev>
- </section>
-
- <section xml:id="datetime.required">
- &reftitle.required;
- &no.requirement;
- </section>
-
- <section xml:id="datetime.installation">
- &reftitle.install;
- &no.install;
- <note>
- <simpara>
- The latest version of the timezone database can be installed via PECL's
- <link
xlink:href="&url.pecl.package.get;timezonedb">timezonedb</link>. For
- Windows users, a pre-compiled DLL can be downloaded from the PECL4Win
- site: <link
xlink:href="&url.pecl.timezonedb.dll;">php_timezonedb.dll</link>.
- </simpara>
- </note>
- </section>
-
- &reference.datetime.ini;
+ &reference.datetime.entities.functions;
- <section xml:id="datetime.resources">
- &reftitle.resources;
- &no.resource;
- </section>
-
- &reference.datetime.constants;
-
- </partintro>
+</reference>
-&reference.datetime.entities.functions;
-
- </reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml