• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library creation problem!

It would be better that Aniesh adds obj as a class variable to the class. Then you have an idea which variables are defined inside the library.

I think adding
$CI =& get_instance();
to every method is a bit overkill.

Weblizard $this is not a connected to CI. It's the php variable for every object and method that is attached to the class. CI connects with the variable, that is a big difference.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.