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

#11
[eluser]xwero[/eluser]
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
Code:
$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-2019 MyBB Group.