Welcome Guest, Not a member yet? Register   Sign In
public function __construct()
#2

PHP Code:
All of these will load your helpers.

helper(['url''html']);

protected 
$helpers = ['url''htnl'];

Auto-loading Helpers
New in version 4.3.0.

If 
you find that you need a particular helper globally throughout your application
you can tell CodeIgniter to auto-load it during system initialization.
This is done by opening the app/Config/Autoload.php file and adding the helper to 
the $helpers property

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
public function __construct() - by Knutsford - 01-16-2024, 10:34 AM
RE: public function __construct() - by InsiteFX - 01-16-2024, 11:35 AM
RE: public function __construct() - by adimancifi - 01-16-2024, 01:08 PM
RE: public function __construct() - by kenjis - 01-16-2024, 01:52 PM
RE: public function __construct() - by Knutsford - 01-17-2024, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB