Welcome Guest, Not a member yet? Register   Sign In
Consistent 404 after initial success
#8

[eluser]xwero[/eluser]
The constructor for both the controller and model extended classes aren't needed if you are not going to add something to the constructor in the extended class.

The extended classes inherit the constructor of the parent class. Once you add a constructor to the extended class, the parent class constructor gets overloaded. that is why you need to add the line;
Code:
parent::Controller()
This calls the parent constructor explicit so you are sure it gets executed.


Messages In This Thread
Consistent 404 after initial success - by El Forum - 06-16-2008, 09:50 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:13 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:30 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 04:44 PM
Consistent 404 after initial success - by El Forum - 06-16-2008, 07:31 PM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:00 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:03 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:14 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:46 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 04:07 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB