Entity with Model finder (custom setters) - 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: Entity with Model finder (custom setters) (/showthread.php?tid=83597) Pages:
1
2
|
RE: Entity with Model finder (custom setters) - iRedds - 11-15-2022 I don’t understand what prevents you from making your own entity class and doing what you want with it? PHP Code: class MyEntity extends \CodeIgniter\Entity\Entity RE: Entity with Model finder (custom setters) - ozornick - 11-16-2022 I'm worried about compatibility in the future. Now I use events, as I additionally link other tables (one to one, one to many ...) RE: Entity with Model finder (custom setters) - iRedds - 11-16-2022 Just use unit tests. |