Skip to content

Latest commit

 

History

History
338 lines (121 loc) · 3.25 KB

timesheets.md

File metadata and controls

338 lines (121 loc) · 3.25 KB
title footer
\leantime\domain\services\timesheets
false

timesheets

  • Full name: \leantime\domain\services\timesheets

Methods

__construct

public timesheets::__construct(): mixed

Return Value:


isClocked

public timesheets::isClocked(mixed $sessionId): mixed

Parameters:

Parameter Type Description
sessionId mixed

Return Value:


punchIn

public timesheets::punchIn(mixed $ticketId): mixed

Parameters:

Parameter Type Description
ticketId mixed

Return Value:


punchOut

public timesheets::punchOut(mixed $ticketId): mixed

Parameters:

Parameter Type Description
ticketId mixed

Return Value:


logTime

public timesheets::logTime(mixed $ticketId, mixed $params): mixed

Parameters:

Parameter Type Description
ticketId mixed
params mixed

Return Value:


getLoggedHoursForTicketByDate

public timesheets::getLoggedHoursForTicketByDate(mixed $ticketId): mixed

Parameters:

Parameter Type Description
ticketId mixed

Return Value:


getSumLoggedHoursForTicket

public timesheets::getSumLoggedHoursForTicket(mixed $ticketId): mixed

Parameters:

Parameter Type Description
ticketId mixed

Return Value:


getRemainingHours

public timesheets::getRemainingHours(mixed $ticket): mixed

Parameters:

Parameter Type Description
ticket mixed

Return Value:


getUsersTicketHours

public timesheets::getUsersTicketHours(mixed $ticketId, mixed $userId): mixed

Parameters:

Parameter Type Description
ticketId mixed
userId mixed

Return Value:


getLoggableHourTypes

public timesheets::getLoggableHourTypes(): mixed

Return Value:


getAll

public timesheets::getAll(mixed $projectId = -1, mixed $kind = 'all', mixed $dateFrom = '0000-01-01 00:00:00', mixed $dateTo = '9999-12-24 00:00:00', mixed $userId = 'all', mixed $invEmpl = '1', mixed $invComp = '1', mixed $ticketFilter = '-1', mixed $paid = '1'): mixed

Parameters:

Parameter Type Description
projectId mixed
kind mixed
dateFrom mixed
dateTo mixed
userId mixed
invEmpl mixed
invComp mixed
ticketFilter mixed
paid mixed

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor