__construct passing data? |
$data is a local variable of your constructor. You need to make a member variable of your controller class if you want to use it somewhere else in other functions of your controller.
PHP Code: class Staff extends MY_Controller { |
Messages In This Thread |
__construct passing data? - by MoFish - 12-24-2014, 11:03 AM
RE: __construct passing data? - by includebeer - 12-24-2014, 12:53 PM
|