How mrsudayon/helpdesk works
This is a PHP/MySQL helpdesk application. Users sign in, browse and create tickets, exchange replies, and manage ticket status; administrators also maintain users, subjects, and departments. The README additionally documents tutorials, search and pagination, and email notifications. The graph shows the shared initialization and database layer. Some page and action implementations were not excerpted, so their links are limited to relationships documented in the README or listed in the source index.
Main entry points: init.php Session bootstrap · Tickets.php Ticket services · Users.php User services · Subject.php Subject services
Components 23
Web entry points
- Sign in
login.php - Registration
register.php - Helpdesk home
introduction.php - Tutorial library
tutorial.php
Ticket workflow
- Ticket page
ticket.php - Ticket detail
view_ticket.php - Ticket form
add_ticket_model.php - Ticket actions
ticket_action.php
Administration
- Subject admin
subject.php - Subject actions
subject_action.php - Department admin
department.php - Department actions
department_action.php - User admin
user.php - User actions
user_action.php
Shared services
- Session bootstrap
init.php - User services
class/Users.php - Ticket services
class/Tickets.php - Subject services
class/Subject.php - Department services
class/Department.php - Database access
class/Database.php
Other components
- Helpdesk user
- MySQL
- Email service
Connections 43
- Helpdesk user → Sign in: signs in
README.md - Helpdesk user → Registration: registers
README.md - Helpdesk user → Helpdesk home: uses portal
README.md - Helpdesk home → Tutorial library: opens tutorials
- Helpdesk home → Ticket page: opens tickets
- Sign in → Session bootstrap: loads session
login.php - Registration → Session bootstrap: loads session
register.php - Helpdesk home → Session bootstrap: loads session
introduction.php - Ticket page → Session bootstrap: loads services
ticket.php - Ticket detail → Session bootstrap: loads services
view_ticket.php - Subject admin → Session bootstrap: loads services
subject.php - Department admin → Session bootstrap: loads services
department.php - User admin → Session bootstrap: loads services
user.php - Sign in → User services: authenticates with
login.php - Registration → User services: registers through
- Ticket form → Subject services: loads choices
add_ticket_model.php - Ticket page → Ticket services: uses ticket services
ticket.php - Ticket detail → Ticket services: uses ticket services
view_ticket.php - Ticket actions → Session bootstrap: loads services
ticket_action.php - Subject actions → Session bootstrap: loads services
subject_action.php - Department actions → Session bootstrap: loads services
department_action.php - User actions → Session bootstrap: loads services
user_action.php - Subject admin → Subject services: uses subject services
subject.php - Department admin → Department services: uses department services
department.php - User admin → User services: uses user services
user.php - Session bootstrap → Database access: constructs
init.php - Session bootstrap → User services: constructs
init.php - Session bootstrap → Ticket services: constructs
init.php - Session bootstrap → Subject services: constructs
init.php - Session bootstrap → Department services: constructs
init.php - User services → Database access: extends
class/Users.php - Ticket services → Database access: extends
class/Tickets.php - Subject services → Database access: extends
class/Subject.php - Department services → Database access: extends
class/Department.php - User services → MySQL: queries
class/Users.php - Ticket services → MySQL: queries
class/Tickets.php - Subject services → MySQL: queries
class/Subject.php - Department services → MySQL: queries
class/Department.php - Database access → MySQL: connects
class/Database.php - Ticket services → User services: uses user service
class/Tickets.php - Ticket services → Subject services: uses subject service
class/Tickets.php - Ticket services → Department services: uses department service
class/Tickets.php - Ticket services → Email service: sends notifications
class/Tickets.php