class TicketController extends Controller

Class AdminController

Methods

array
indexAction()

Backend page for listing all tickets

array
indexMyAction()

Backend page for listing my tickets

array
addTicketAction()

Backend page for adding new ticket

Response
getTicketAction(Ticket $ticketEditDB)

Json route for finding ticket

array
ticketShowAction(Ticket $ticketEditDB)

Backend page for showing ticket

Response
deleteProductAction(ArrayCollection $ticketDeleteJSON)

Json route for removing ticket

JsonResponse
getTicketsAction(ArrayCollection $ticketListJSON)

Json route for listing all tickets with pagination

JsonResponse
getMyTicketsAction(ArrayCollection $myTicketListJSON)

Json route for listing all tickets

JsonResponse
getAllCommentsAction(ArrayCollection $commentListJSON)

Json route for listing comments with pagination

JsonResponse
getReallyAllCommentsAction(ArrayCollection $commentListAllJSON)

Json route for listing comments with pagination

JsonResponse
setSeenCommentsAction(ArrayCollection $seenCommentsListJSON)

Json route for changing comment status to tree

Details

at line 47
array indexAction()

Backend page for listing all tickets

Return Value

array

at line 61
array indexMyAction()

Backend page for listing my tickets

Return Value

array

at line 75
array addTicketAction()

Backend page for adding new ticket

Return Value

array

at line 89
Response getTicketAction(Ticket $ticketEditDB)

Json route for finding ticket

Parameters

Ticket $ticketEditDB

Return Value

Response

at line 109
array ticketShowAction(Ticket $ticketEditDB)

Backend page for showing ticket

Parameters

Ticket $ticketEditDB

Return Value

array

Exceptions

ORMException
OptimisticLockException

at line 133
Response deleteProductAction(ArrayCollection $ticketDeleteJSON)

Json route for removing ticket

Parameters

ArrayCollection $ticketDeleteJSON

Return Value

Response

See also

TicketDeleteJSONConverter

at line 148
JsonResponse getTicketsAction(ArrayCollection $ticketListJSON)

Json route for listing all tickets with pagination

Parameters

ArrayCollection $ticketListJSON

Return Value

JsonResponse

See also

TicketListJSONConverter

at line 163
JsonResponse getMyTicketsAction(ArrayCollection $myTicketListJSON)

Json route for listing all tickets

Parameters

ArrayCollection $myTicketListJSON

Return Value

JsonResponse

See also

MyTicketListJSONConverter

at line 178
JsonResponse getAllCommentsAction(ArrayCollection $commentListJSON)

Json route for listing comments with pagination

Parameters

ArrayCollection $commentListJSON

Return Value

JsonResponse

See also

CommentListJSONConverter

at line 193
JsonResponse getReallyAllCommentsAction(ArrayCollection $commentListAllJSON)

Json route for listing comments with pagination

Parameters

ArrayCollection $commentListAllJSON

Return Value

JsonResponse

See also

CommentListAllJSONConverter

at line 208
JsonResponse setSeenCommentsAction(ArrayCollection $seenCommentsListJSON)

Json route for changing comment status to tree

Parameters

ArrayCollection $seenCommentsListJSON

Return Value

JsonResponse

See also

SeenCommentsListJSONConverter