Welcome Guest, Not a member yet? Register   Sign In
Using custom library - best practice?
#8

[eluser]jedd[/eluser]
[quote author="Flak" date="1251137781"]
but even if I do

Code:
$this->load->library('Slider');

I still need to user $this->slider->func.
[/quote]


You're loading it with $this->load->library('Slider'), the class name is Slider - I can see those two things from the code you've provided - and it still doesn't work when you talk to ->Slider-> ...?

Yes, that is very odd.

Can you confirm the file is called Slider.php in your library directory?


Messages In This Thread
Using custom library - best practice? - by El Forum - 08-24-2009, 06:53 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:00 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:02 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:09 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:10 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:12 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:16 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 07:43 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 08:40 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 10:10 AM
Using custom library - best practice? - by El Forum - 08-24-2009, 06:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB