__construct()
__construct( $app, $params = array())
Parameters
$app | ||
$params |
_calculateMoonPhases( $Y) : array
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
$Y |
The moon phases.