Removing $this-> from codeigniter 3+ |
12-22-2014, 08:14 AM
(This post was last modified: 12-22-2014, 11:03 AM by ivantcholakov. Edit Reason: A typo. )
Whether $this should be used or not requires research, in my opinion. FuelPHP 1.x started with static interfaces, then for the future FuelPHP 2.0 maybe they are going to change their mind. One of the reasons I remember was how easyly unit-test are written. Perhabs I am not quite precise exactly at this moment. See an old article of theirs: http://fuelphp.com/blogs/2012/06/context-matters
|
Welcome Guest, Not a member yet? Register Sign In |