Welcome Guest, Not a member yet? Register   Sign In
Swith to object oriented programming
#2

It is OOP. You are using classes and objects, so it is definitely object oriented programming. By default CodeIgniter 3 returns standard objects (stdObject), but you can also define custom objects. See http://codeigniter.com/userguide3/databa...lt-objects

I never tried it with CI3 but I guess it work. But if you are currently learning CI and are not working on a big existing project, I would advise to learn CI4 instead. You can then use the Entity class for your model objects.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: Swith to object oriented programming - by includebeer - 05-05-2021, 02:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB