Developer Documentation
Developer Documentation
Academy LMS
Developer Documentation
Copyright 2022 Creativeitem. All rights reserved.
Source Code Structure:
We followed the standard MVC structure within the powerful
Php Codeigniter framework to develop Assignment Addon.
Structure of Assignment addon:
Controllers
- Assignment.php: This is the
controller we used for this addon.
As the name suggested, it controls
all the functions.
Models
- Assignment_model.php: All the
functionalities related to the
database are done here.
SQL:
- updater.php: If an addon
requires modifications on the
existing database this file comes
to play the role.
Views:
- backend
- admin
- user
- lessons
: These are the folder containing
the view files we used for this
addon.
Config.json:
- This is the skeleton of an addon.
It contains the core data. It also
describes all the actions made
during installation. So do not
change anything here.