Swith to object oriented programming |
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! ***/ |
Messages In This Thread |
Swith to object oriented programming - by blab99778 - 05-05-2021, 10:53 AM
RE: Swith to object oriented programming - by includebeer - 05-05-2021, 02:47 PM
RE: Swith to object oriented programming - by blab99778 - 05-06-2021, 06:54 AM
RE: Swith to object oriented programming - by includebeer - 05-06-2021, 02:59 PM
RE: Swith to object oriented programming - by blab99778 - 05-10-2021, 11:23 AM
RE: Swith to object oriented programming - by includebeer - 05-10-2021, 01:12 PM
RE: Swith to object oriented programming - by blab99778 - 05-11-2021, 09:03 AM
RE: Swith to object oriented programming - by includebeer - 05-13-2021, 07:25 AM
RE: Swith to object oriented programming - by blab99778 - 05-13-2021, 03:08 PM
RE: Swith to object oriented programming - by includebeer - 05-13-2021, 03:50 PM
RE: Swith to object oriented programming - by blab99778 - 05-18-2021, 08:45 AM
|