-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDateInfo.php
More file actions
35 lines (29 loc) · 1.15 KB
/
DateInfo.php
File metadata and controls
35 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
// class DateInfo{
// public $date;
// protected $price;
// protected $openPrice;
// protected $highPrice;
// protected $lowPrice;
// protected $weight;
// protected $changePercent;
// function __construct($date, $price, $openPrice, $highPrice, $lowPrice, $weight, $changePercent)
// {
// $this->date = $date;
// $this->price = $price;
// $this->openPrice = $openPrice;
// $this->highPrice = $highPrice;
// $this->lowPrice = $lowPrice;
// $this->weight = $weight;
// $this->changePercent = $changePercent;
// }
// function set_date($date) { $this->date = $date; }
// function set_price($price) { $this->price = $price;}
// function set_openPrice($openPrice) { $this->openPrice = $openPrice;}
// function set_highPrice($highPrice) { $this->highPrice = $highPrice;}
// function set_lowPrice($lowPrice) { $this->lowPrice = $lowPrice;}
// function set_weight($weight) { $this->weight = $weight;}
// function set_changePercent($changePercent) { $this->changePercent = $changePercent;}
// function get_date() { return $this->date; }
// }
?>