Welcome Guest, Not a member yet? Register   Sign In
Creating and using a library
#11

[eluser]dwlamb[/eluser]
I erred in my earlier post after trying treenef's suggestion to keep the case lower when calling the function like so:

$data[‘url_pit’] = $this->urls_library->make_urls($urls_data);

it made no difference. It was at that point I pondered the use of underscores and decided to modify the required names, etc.

I did read the documentation but I became confused on use of uppercase okay for loading the library and must be lower case on actually calling a function from the library.

Thanks for your time and patience.
#12

[eluser]treenef[/eluser]
underscores work for me, what OS are you on and codeigniter version?




Theme © iAndrew 2016 - Forum software by © MyBB