Welcome Guest, Not a member yet? Register   Sign In
action with the same name as the controller
#2

[eluser]Unknown[/eluser]
I have no solution for you but I just want to warn you.

Depending on your php version, a method with the same name as the classname can become the constructor of this class.

There's few lines hidden in the middle of nowhere about that in the php manual.

So I think it can be a bit dangerous doing things like this.
It's just my opinion... Perhaps you really need to do that !


Messages In This Thread
action with the same name as the controller - by El Forum - 07-19-2011, 03:44 AM
action with the same name as the controller - by El Forum - 07-19-2011, 04:14 AM
action with the same name as the controller - by El Forum - 07-19-2011, 10:34 AM
action with the same name as the controller - by El Forum - 07-19-2011, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB