Welcome Guest, Not a member yet? Register   Sign In
How to call member functions within a class?
#4

The code works only if I include $this->load->helper('url'); in all functions one by one, but it doesnt work when I include it in the constructor like this:

Code:
function _construct()
{
parent::_construct();
$this->load->helper('url');
}
Reply


Messages In This Thread
RE: How to call member functions within a class? - by lexxtoronto - 03-17-2015, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB