How to use two models in a controller |
(05-11-2020, 06:40 AM)kilishan Wrote: Your example works just fine. Personally, I'd use the model() helper just to ensure I don't get more than 1 instance of the model created, but what you've done works fine. kilishan, thank for your reply. I will edit about this ~ |
Messages In This Thread |
How to use two models in a controller - by hoffmanchan - 05-11-2020, 02:46 AM
RE: How to use two models in a controller - by kilishan - 05-11-2020, 06:40 AM
RE: How to use two models in a controller - by hoffmanchan - 05-11-2020, 07:36 AM
|