__construct (\midcom_db_person $person)
\midcom_db_personPerson to handle "now working on" for. By default current user
Set a task the user works on.
If user was previously working on something else hours will be reported automatically.
Load task and time person is working on
_report_hours ($description, $invoiceable)
Report hours based on time used
The description for the current hour report
If hour report is invoiceable
Time person started working on the task
Task being worked on
Person working on the task
Time spent working on the task, in seconds