Welcome Guest, Not a member yet? Register   Sign In
Removing $this-> from codeigniter 3+
#13

Despite the fact that I don't care for everything being lumped into $this all the time, I don't see much point in rewriting huge portions of CI just to get rid of it, especially if I'm just going to have to change a bunch of code from $this->load->xxx() to Loader::xxx() or Loader->xxx(). Besides, there's probably not much stopping you from implementing a class with static methods to act as a Facade or Adapter for the loader (or anything else in CI) in your own project.
Reply


Messages In This Thread
Removing $this-> from codeigniter 3+ - by kharota - 12-21-2014, 03:10 PM
RE: Removing $this-> from codeigniter 3+ - by jlp - 12-31-2014, 04:40 PM
RE: Removing $this-> from codeigniter 3+ - by mwhitney - 01-02-2015, 02:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB