How jhonniel/hris-kpm works
This repository combines a CodeIgniter-based employee-management application with the framework runtime. Its user-facing domains include employee records, attendance, leave, payroll, loans, projects, logistics, notices, and organization settings. The main request path is framework bootstrap and routing into controllers, which use domain models and render backend views. The supplied excerpts directly establish only some application-to-model and controller-to-view relationships; other domain links are omitted rather than inferred.
Main entry points: Employee.php Employee management · Payroll.php Payroll · CodeIgniter.php Framework bootstrap · Router.php URI routing
Components 26
Framework runtime
- Application entry
index.php - Framework bootstrap
system/core/CodeIgniter.php - URI routing
system/core/Router.php - Controller base
system/core/Controller.php - Resource loader
system/core/Loader.php - Model base
system/core/Model.php - Query builder
system/database/DB_query_builder.php
People operations
- Employee management
application/controllers/Employee.php - Employee records
application/models/Employee_model.php - Attendance
application/controllers/Attendance.php - Leave management
application/controllers/Leave.php - Leave records
application/models/Leave_model.php
Business operations
- Payroll
application/controllers/Payroll.php - Payroll data
application/models/Payroll_model.php - Loans
application/controllers/Loan.php - Projects and tasks
application/controllers/Projects.php - Project data
application/models/Project_model.php - Logistics
application/controllers/Logistice.php - Notices
application/controllers/Notice.php - Organization
application/controllers/Organization.php - Settings
application/controllers/Settings.php - Dashboard
application/controllers/Dashboard.php
Application presentation
- Task view
application/views/backend/tasks_view.php - Inactive-user view
application/views/backend/invalid_user.php - Login view
application/views/login.php
Other components
- Web request
Connections 18
- Web request → Application entry: enters
- Application entry → Framework bootstrap: loads
index.php - Framework bootstrap → URI routing: initializes
system/core/CodeIgniter.php - Framework bootstrap → Controller base: dispatches
system/core/CodeIgniter.php - URI routing → Application entry: reads routes
system/core/Router.php - URI routing → Employee management: resolves controller
- Controller base → Resource loader: initializes
system/core/Controller.php - Resource loader → Model base: loads
system/core/Loader.php - Resource loader → Query builder: loads
- Employee management → Employee records: queries
application/controllers/Employee.php - Employee management → Inactive-user view: renders
application/controllers/Employee.php - Employee management → Login view: references
application/controllers/Employee.php - Payroll → Payroll data: queries
application/controllers/Payroll.php - Payroll → Employee management: uses controller
application/controllers/Payroll.php - Payroll → Loans: uses controller
application/controllers/Payroll.php - Payroll → Dashboard: uses controller
application/controllers/Payroll.php - Projects and tasks → Dashboard: uses controller
application/controllers/Projects.php - Task view → Project data: looks up assignees
application/views/backend/tasks_view.php