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

#4
Ok, I'll ask you more simply

on CI3 automatically load library I just add this in autoload.php

$this->load->library('User');

and in controller i can call User library methods like $this->user->getId();


How do This on 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.