Class Horde_Block_Horde_moon

Description

$Horde: horde/lib/Block/moon.php,v 1.16.10.5 2007/12/20 15:01:36 jan Exp $

Located in /lib/Block/moon.php (line 10)

Horde_Block
   |
   --Horde_Block_Horde_moon
Variable Summary
 mixed $_app
Method Summary
 array _calculateMoonPhases ( $Y, integer $year)
 void _content ()
 string _jdtogregorian (int $julian)
 void _params ()
 void _title ()
Variables
mixed $_app = 'horde' (line 12)
Methods
_calculateMoonPhases (line 111)

Returns an array with all the phases of the moon for a whole year.

Based on code from http://www.zend.com/codex.php?id=830&single=1 by Are Pedersen.

Converted from Basic by Roger W. Sinnot, Sky & Telescope, March 1985. Converted from javascript by Are Pedersen 2002 Javascript found at http://www.stellafane.com/moon_phase/moon_phase.htm

  • return: The moon phases.
array _calculateMoonPhases ( $Y, integer $year)
  • integer $year: The four digit year to return the moon phases for.
  • $Y
_content (line 37)
void _content ()
_jdtogregorian (line 193)

Checks if the jdtogregorian function exists, and if not calculates the gregorian date manually.

  • return: m/d/Y
string _jdtogregorian (int $julian)
  • int $julian: The julian date
_params (line 19)
void _params ()
_title (line 14)
void _title ()

Documentation generated on Sun, 30 Jan 2011 05:26:54 +0000 by phpDocumentor 1.4.3