title | footer |
---|---|
\leantime\domain\repositories\tickets |
false |
- Full name:
\leantime\domain\repositories\tickets
__construct - get db connection
public tickets::__construct(): \leantime\domain\repositories\unknown_type
Return Value:
public tickets::getStateLabels(mixed $projectId = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getStatusList(): mixed
Return Value:
public tickets::getStatusListGroupedByType(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
getAll - get all Tickets, depending on userrole
public tickets::getAll(mixed $limit = 9999): array
Parameters:
Parameter | Type | Description |
---|---|---|
limit |
mixed |
Return Value:
public tickets::getUsersTickets(mixed $id, mixed $limit): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed | |
limit |
mixed |
Return Value:
getAllBySearchCriteria - get Tickets by a serach term and/or a filter
public tickets::getAllBySearchCriteria( $searchCriteria, $sort = 'standard', mixed $limit = null): array
Parameters:
Parameter | Type | Description |
---|---|---|
searchCriteria |
**** | array |
sort |
**** | |
limit |
mixed |
Return Value:
| bool
public tickets::getAllByProjectId(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getTags(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
getTicket - get a specific Ticket depending on the role
public tickets::getTicket( $id): \leantime\domain\models\tickets|bool
Parameters:
Parameter | Type | Description |
---|---|---|
id |
**** |
Return Value:
public tickets::getAllSubtasks(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
public tickets::getAllMilestones(mixed $projectId, mixed $includeArchived = false, mixed $sortBy = "headline", mixed $includeTasks = false): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed | |
includeArchived |
mixed | |
sortBy |
mixed | |
includeTasks |
mixed |
Return Value:
getType - get the Type from the type array
public tickets::getType(): string
Return Value:
getPriority - get the priority from the priority array
public tickets::getPriority( $priority): string
Parameters:
Parameter | Type | Description |
---|---|---|
priority |
**** |
Return Value:
public tickets::getFirstTicket(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getNumberOfAllTickets(mixed $projectId = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getNumberOfMilestones(mixed $projectId = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getNumberOfClosedTickets(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public tickets::getEffortOfClosedTickets(mixed $projectId, mixed $averageStorySize): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed | |
averageStorySize |
mixed |
Return Value:
public tickets::getEffortOfAllTickets(mixed $projectId, mixed $averageStorySize): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed | |
averageStorySize |
mixed |
Return Value:
public tickets::getAverageTodoSize(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
addTicket - add a Ticket with postback test
public tickets::addTicket(array $values): bool|int
Parameters:
Parameter | Type | Description |
---|---|---|
values |
array |
Return Value:
public tickets::patchTicket(mixed $id, mixed $params): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed | |
params |
mixed |
Return Value:
updateTicket - Update Ticketinformation
public tickets::updateTicket(array $values, $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
array | |
id |
**** |
Return Value:
public tickets::updateTicketStatus(mixed $ticketId, mixed $status, mixed $ticketSorting = -1): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
ticketId |
mixed | |
status |
mixed | |
ticketSorting |
mixed |
Return Value:
public tickets::addTicketChange(mixed $userId, mixed $ticketId, mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
userId |
mixed | |
ticketId |
mixed | |
values |
mixed |
Return Value:
delTicket - delete a Ticket and all dependencies
public tickets::delticket( $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
**** |
Return Value:
public tickets::delMilestone(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
Automatically generated from source code comments on 2023-02-28 using phpDocumentor