Tagged Questions
2
votes
1answer
245 views
How to make this PHP code more object oriented and less scripted
I am utilizing CodeIgniter's Pagination Class to implement pagination in the project.
In this project, there are 3 modules: Event,Business & Parts.
Each Module has same "view" for pagination. I ...
1
vote
2answers
323 views
Controller for an Administrator User, can this be improved? (codeigniter)
I want to write better code.
This is a simple controller class for an administrator login.
Are there conventions or tips in PHP to rewrite this code and improve it?
<?php
class Administrators ...