Skip to content

Latest commit

 

History

History
929 lines (311 loc) · 7.5 KB

File metadata and controls

929 lines (311 loc) · 7.5 KB
title footer
\leantime\domain\services\tickets
false

tickets

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

Methods

__construct

public tickets::__construct(): mixed

Return Value:


getStatusLabels

public tickets::getStatusLabels(): mixed

Return Value:


getAllStatusLabelsByUserId

public tickets::getAllStatusLabelsByUserId(mixed $userId): mixed

Parameters:

Parameter Type Description
userId mixed

Return Value:


saveStatusLabels

public tickets::saveStatusLabels(mixed $params): mixed

Parameters:

Parameter Type Description
params mixed

Return Value:


getKanbanColumns

public tickets::getKanbanColumns(): mixed

Return Value:


getTypeIcons

public tickets::getTypeIcons(): mixed

Return Value:


getEffortLabels

public tickets::getEffortLabels(): mixed

Return Value:


getTicketTypes

public tickets::getTicketTypes(): mixed

Return Value:


getPriorityLabels

public tickets::getPriorityLabels(): mixed

Return Value:


prepareTicketSearchArray

public tickets::prepareTicketSearchArray(array $searchParams): mixed

Parameters:

Parameter Type Description
searchParams array

Return Value:


countSetFilters

public tickets::countSetFilters(array $searchCriteria): int

Parameters:

Parameter Type Description
searchCriteria array

Return Value:


getAll

public tickets::getAll(mixed $searchCriteria): mixed

Parameters:

Parameter Type Description
searchCriteria mixed

Return Value:


getTicket

public tickets::getTicket(mixed $id): mixed

Parameters:

Parameter Type Description
id mixed

Return Value:


getOpenUserTicketsThisWeekAndLater

public tickets::getOpenUserTicketsThisWeekAndLater(mixed $userId, mixed $projectId): mixed

Parameters:

Parameter Type Description
userId mixed
projectId mixed

Return Value:


getLastTickets

public tickets::getLastTickets(mixed $projectId, mixed $limit = 5): mixed

Parameters:

Parameter Type Description
projectId mixed
limit mixed

Return Value:


getOpenUserTicketsByProject

public tickets::getOpenUserTicketsByProject(mixed $userId, mixed $projectId): mixed

Parameters:

Parameter Type Description
userId mixed
projectId mixed

Return Value:


getAllMilestones

public tickets::getAllMilestones(mixed $projectId, mixed $includeArchived = false, mixed $sortBy = "duedate", mixed $includeTasks = false): mixed

Parameters:

Parameter Type Description
projectId mixed
includeArchived mixed
sortBy mixed
includeTasks mixed

Return Value:


getAllMilestonesByUserProjects

public tickets::getAllMilestonesByUserProjects(mixed $userId): mixed

Parameters:

Parameter Type Description
userId mixed

Return Value:


getAllSubtasks

public tickets::getAllSubtasks(mixed $ticketId): mixed

Parameters:

Parameter Type Description
ticketId mixed

Return Value:


quickAddTicket

public tickets::quickAddTicket(mixed $params): mixed

Parameters:

Parameter Type Description
params mixed

Return Value:


quickAddMilestone

public tickets::quickAddMilestone(mixed $params): mixed

Parameters:

Parameter Type Description
params mixed

Return Value:


addTicket

public tickets::addTicket(mixed $values): mixed

Parameters:

Parameter Type Description
values mixed

Return Value:


updateTicket

public tickets::updateTicket(mixed $id, mixed $values): mixed

Parameters:

Parameter Type Description
id mixed
values mixed

Return Value:


patchTicket

public tickets::patchTicket(mixed $id, mixed $params): mixed

Parameters:

Parameter Type Description
id mixed
params mixed

Return Value:


moveTicket

moveTicket - Moves a ticket from one project to another. Milestone children will be moved as well

public tickets::moveTicket(int $id, int $projectId): bool

Parameters:

Parameter Type Description
id int
projectId int

Return Value:


quickUpdateMilestone

public tickets::quickUpdateMilestone(mixed $params): mixed

Parameters:

Parameter Type Description
params mixed

Return Value:


upsertSubtask

public tickets::upsertSubtask(mixed $values, mixed $parentTicket): mixed

Parameters:

Parameter Type Description
values mixed
parentTicket mixed

Return Value:


updateTicketStatusAndSorting

public tickets::updateTicketStatusAndSorting(mixed $params, mixed $handler = null): mixed

Parameters:

Parameter Type Description
params mixed
handler mixed

Return Value:


deleteTicket

public tickets::deleteTicket(mixed $id): mixed

Parameters:

Parameter Type Description
id mixed

Return Value:


deleteMilestone

public tickets::deleteMilestone(mixed $id): mixed

Parameters:

Parameter Type Description
id mixed

Return Value:


getLastTicketViewUrl

public tickets::getLastTicketViewUrl(): mixed

Return Value:


getGroupByFieldOptions

public tickets::getGroupByFieldOptions(): mixed

Return Value:


getNewFieldOptions

public tickets::getNewFieldOptions(): mixed

Return Value:



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