PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Francesco Danti   PHP Sun Position Calculator   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Sun Position Calculator
Calculate Sun position astronomical distance
Author: By
Last change: Apply fixes from StyleCI
Date: 4 years ago
Size: 376 bytes


Class file image Download

= include 'vendor/autoload.php';

$object = new SolarData\SolarData();

$object->setObserverPosition(39.742476, -105.1786, 1830.14);
$object->setObserverDate(2003, 10, 17);
$object->setObserverTime(12, 30, 30);