Document $zenith parameter

This integrates user note 82801, and is supposed to make 
user note 47839 superfluous.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344247 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-02-12 18:34:40 +00:00
parent 6b897704a1
commit efe705d94a
2 changed files with 64 additions and 2 deletions

View file

@ -94,7 +94,38 @@
<term><parameter>zenith</parameter></term>
<listitem>
<para>
Default: <link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link>
<parameter>zenith</parameter> is the angle between the center of the sun
and a line perpendicular to earth's surface. It defaults to
<link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link>
<table>
<title>Common <parameter>zenith</parameter> angles</title>
<tgroup cols="2">
<thead>
<row>
<entry>Angle</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>90°50'</entry>
<entry>Sunrise: the point where the sun becomes visible.</entry>
</row>
<row>
<entry>96°</entry>
<entry>Civil twilight: conventionally used to signify the start of dawn.</entry>
</row>
<row>
<entry>102°</entry>
<entry>Nautical twilight: the point at which the horizon starts being visible at sea.</entry>
</row>
<row>
<entry>108°</entry>
<entry>Astronomical twilight: the point at which the sun starts being the source of any illumination.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</listitem>
</varlistentry>

View file

@ -96,7 +96,38 @@
<term><parameter>zenith</parameter></term>
<listitem>
<para>
Default: <link linkend="ini.date.sunset-zenith">date.sunset_zenith</link>
<parameter>zenith</parameter> is the angle between the center of the sun
and a line perpendicular to earth's surface. It defaults to
<link linkend="ini.date.sunset-zenith">date.sunset_zenith</link>
<table>
<title>Common <parameter>zenith</parameter> angles</title>
<tgroup cols="2">
<thead>
<row>
<entry>Angle</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>90°50'</entry>
<entry>Sunset: the point where the sun becomes invisible.</entry>
</row>
<row>
<entry>96°</entry>
<entry>Civil twilight: conventionally used to signify the end of dusk.</entry>
</row>
<row>
<entry>102°</entry>
<entry>Nautical twilight: the point at which the horizon ends being visible at sea.</entry>
</row>
<row>
<entry>108°</entry>
<entry>Astronomical twilight: the point at which the sun ends being the source of any illumination.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</listitem>
</varlistentry>