CodeIgniter Forums
construct on code igniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: construct on code igniter (/showthread.php?tid=62564)



construct on code igniter - dayath125 - 07-30-2015

helloo,,, I am newby..

i want know,,,what is consctruct on model code igniter?
i see,i dont understand.

please,

thanks! you...


RE: construct on code igniter - InsiteFX - 07-30-2015

The constructor runs the parent class __construct(), It is not needed unless you are
extending another class.


RE: construct on code igniter - Wouter60 - 07-30-2015

It's well explained here:
http://php.net/manual/en/language.oop5.decon.php