<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.13.11.3737 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.13.12.3738 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
}
// get - obtains either a single month quota or an array of quotas for an entire year.
- public function get($year, $month) {
+ // Month starts with 1 for January, not 0.
+ public function get($year, $month = null) {
if (is_null($month)){
return $this->getMany($year);
}
}
}
-// Returns monthly quotas where January is month 1, not 0.
+// Get monthly quotas where for the entire year.
$monthsData = $quota->get($selectedYear);
$form = new Form('monthlyQuotasForm');