CodeIgniter Forums
creating an object...?? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: creating an object...?? (/showthread.php?tid=47732)



creating an object...?? - El Forum - 12-20-2011

[eluser]Vaibhav132[/eluser]
I am working on group dealing kind of project.I am done with almost 50% of project.
I am new to Codeigniter(Level 0).
Since it's MVC, i am calling views, and models from controllers.
The problem is I haven't created an object yet, considering the fact that i have completed around 50% of project
Everywhere it's just "Class Abc_controller extends CI_Controller".

I want know how to and when should i create an object and how should i use it.
It would great if you can provide me examples..
Like for Login functionality is it necessary to create an object, if i create an object
how am i suppose to use it.

Few links and examples will do the needful .
Thank You Smile