• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autoload Library

#1
Hi,

I try run autoload Library

In autoload file /Config/Autoload.php I use this

$classmap = [
     'User' => APPPATH . 'libraries/user.php'
];

and I want auto run this class like CI3 $this->load->library('User');

In CI3 this class run automatically constructor, how to do this in CI4?

I new in CI4
Reply


Messages In This Thread
Autoload Library - by Vykintas - 11-10-2017, 01:19 PM
RE: Autoload Library - by Narf - 11-11-2017, 03:10 AM
RE: Autoload Library - by donpwinston - 11-11-2017, 09:11 AM
RE: Autoload Library - by Vykintas - 11-13-2017, 07:08 AM
RE: Autoload Library - by donpwinston - 11-13-2017, 11:29 AM
RE: Autoload Library - by jaynarayan - 11-14-2017, 03:07 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.