![]() |
@usol global connection ? To use a model class ,you have to instantiate it. When you instantiate it connects to default database; but its only one line to switch to another database set out in app/config/Database.php so why write more lines of code that I dont have to ?
|
Messages In This Thread |
Load model in helper - by 4usol - 12-27-2024, 05:41 AM
RE: Load model in helper - by captain-sensible - 12-27-2024, 06:13 AM
RE: Load model in helper - by 4usol - 12-27-2024, 09:53 AM
RE: Load model in helper - by captain-sensible - 12-28-2024, 04:50 AM
|