Scaffolding in CodeIgniter: Controller Code

Feb 14, 2011 08:44


Originally published at Kyle Boddy. You can comment here or there.

Now that scaffolding has finally been removed from CodeIgniter, they've removed all references to it. However, I still use this function for clients, and as a result, stick with the 1.7.3 branch for now. If you're in the same situation and need the simple controller code, here it is:

load->scaffolding('tableName'); } }
Be sure to properly set your database configuration connections (database.php) and scaffolding trigger (routes.php) to make this work.

codeigniter, general tech, scaffolding

Previous post Next post
Up