Welcome Guest, Not a member yet? Register   Sign In
Why can't we use static objects?
#6

(This post was last modified: 07-05-2015, 08:37 AM by rakibtg.)

(07-04-2015, 09:28 PM)skunkbad Wrote: There are a couple of issues preventing you from using the Input class as static.
Now you have access to the Inpoot static class that gives you access to CI's Input class methods as static: ...


Thanks skunkbad for a detail reply, it helps me to understand more on it.
I think CI should adopt some of the latest PHP specs to make it more smooth, and i think its really a urgent for the framework.
At least, CI should have:
1) Proper, basic authentication system.
2) Use of namespace
3) rest of the things are great.

Greatly appreciate your time :=)
Reply


Messages In This Thread
Why can't we use static objects? - by rakibtg - 07-04-2015, 01:17 PM
RE: Why can't we use static objects? - by kenjis - 07-04-2015, 04:19 PM
RE: Why can't we use static objects? - by rakibtg - 07-05-2015, 08:32 AM
RE: Why can't we use static objects? - by kenjis - 07-04-2015, 09:51 PM
RE: Why can't we use static objects? - by rakibtg - 07-06-2015, 05:34 AM
RE: Why can't we use static objects? - by kenjis - 07-06-2015, 02:55 PM
RE: Why can't we use static objects? - by rakibtg - 07-06-2015, 11:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB