nlopess Wed Jun 22 17:01:41 2005 EDT
Modified files: /phpdoc/en/appendices ini.xml /phpdoc/en/reference/datetime ini.xml Log: more ini options for the date/time standard extension http://cvs.php.net/diff.php/phpdoc/en/appendices/ini.xml?r1=1.19&r2=1.20&ty=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.19 phpdoc/en/appendices/ini.xml:1.20 --- phpdoc/en/appendices/ini.xml:1.19 Tue Apr 19 14:48:07 2005 +++ phpdoc/en/appendices/ini.xml Wed Jun 22 17:01:40 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <appendix id="ini"> <title>&php.ini; directives</title> @@ -300,30 +300,36 @@ <entry></entry> </row> <row> - <entry>date.default_latitude</entry> + <entry><link linkend="ini.date.default-latitude">date.default_latitude</link></entry> <entry>"31.7667"</entry> <entry>PHP_INI_ALL</entry> <entry>Available since PHP 5.0.0.</entry> </row> <row> - <entry>date.default_longitude</entry> + <entry><link linkend="ini.date.default-longitude">date.default_longitude</link></entry> <entry>"35.2333"</entry> <entry>PHP_INI_ALL</entry> <entry>Available since PHP 5.0.0.</entry> </row> <row> - <entry>date.sunrise_zenith</entry> + <entry><link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link></entry> <entry>"90.83"</entry> <entry>PHP_INI_ALL</entry> <entry>Available since PHP 5.0.0.</entry> </row> <row> - <entry>date.sunset_zenith</entry> + <entry><link linkend="ini.date.sunset-zenith">date.sunset_zenith</link></entry> <entry>"90.83"</entry> <entry>PHP_INI_ALL</entry> <entry>Available since PHP 5.0.0.</entry> </row> <row> + <entry><link linkend="ini.date.timezone">date.timezone</link></entry> + <entry>"GMT"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since PHP 5.1.0.</entry> + </row> + <row> <entry>dba.default_handler</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/ini.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/datetime/ini.xml diff -u phpdoc/en/reference/datetime/ini.xml:1.1 phpdoc/en/reference/datetime/ini.xml:1.2 --- phpdoc/en/reference/datetime/ini.xml:1.1 Wed Jun 22 15:33:33 2005 +++ phpdoc/en/reference/datetime/ini.xml Wed Jun 22 17:01:41 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <section id="datetime.configuration"> &reftitle.runtime; &extension.runtime; @@ -17,6 +17,30 @@ </thead> <tbody> <row> + <entry>date.default_latitude</entry> + <entry>"31.7667"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since PHP 5.0.0.</entry> + </row> + <row> + <entry>date.default_longitude</entry> + <entry>"35.2333"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since PHP 5.0.0.</entry> + </row> + <row> + <entry>date.sunrise_zenith</entry> + <entry>"90.83"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since PHP 5.0.0.</entry> + </row> + <row> + <entry>date.sunset_zenith</entry> + <entry>"90.83"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since PHP 5.0.0.</entry> + </row> + <row> <entry>date.timezone</entry> <entry>"GMT"</entry> <entry>PHP_INI_ALL</entry> @@ -32,6 +56,54 @@ <para> <variablelist> + <varlistentry id="ini.date.default-latitude"> + <term> + <parameter>date.default_latitude</parameter> + <type>float</type> + </term> + <listitem> + <para> + The default latitude. + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.date.default-longitude"> + <term> + <parameter>date.default_longitude</parameter> + <type>float</type> + </term> + <listitem> + <para> + The default longitude. + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.date.sunrise-zenith"> + <term> + <parameter>date.sunrise_zenith</parameter> + <type>float</type> + </term> + <listitem> + <para> + The default sunrise zenith. + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.date.sunset-zenith"> + <term> + <parameter>date.sunset_zenith</parameter> + <type>float</type> + </term> + <listitem> + <para> + The default sunset zenith. + </para> + </listitem> + </varlistentry> + <varlistentry id="ini.date.timezone"> <term> <parameter>date.timezone</parameter> @@ -41,12 +113,19 @@ <para> The default timezone. This is used when the <envar>TZ</envar> environment variable is <emphasis role="bold">not</emphasis> set. + Currently it is only used by the <function>strtotime</function> + function. </para> </listitem> </varlistentry> </variablelist> </para> - + <note> + <simpara> + The first four configuration options are currently only used by + <function>date_sunrise</function> and <function>date_sunset</function>. + </simpara> + </note> </section> <!-- Keep this comment at the end of the file