Offline Payment Addon
Academy LMS
Developer Guide
Copyright 2020 Creativeitem. All rights reserved.
Source Code Structure:
We followed standard MVC structure within powerful Php Codeigniter
framework to develop Academy.
Structure of Offline Payment Addon:
Controllers
- Offline_payment.php : This is the
controller we used for this addon. As the
name suggests, it controls all the functions.
Models
- Offline_payment_model.php : All the
functionalities related to database are done
here.
SQL
- updater.php : If an addon requires
modifications on existing database this file
comes to play the role.
Views
- offline_payment_approve.php
- offline_payment_pending.php
- offline_payment_suspended.php
- pending_purchase_course_history.php
: These are the view files we used for this addon.
his is the skeleton of an addon. It
Config.json : T
contains the core data. It also describes all the
actions made during installation. So do not
change anything here.