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

PHP Code:
public function __construct()
{
     parent::__construct();
     $this->load->model('youth_user_model');
 
     $this->load->helper('url');
 
     $this->load->helper('html');
}


I am trying to convert a site  from version 3 to 4 of codeigniter

I am getting cannot call constructor on line 10
Line 10 is parent
::__construct();truct()();

What should that bit of code look like for version 4 please? Do I just remove that lineThanks 
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