Welcome Guest, Not a member yet? Register   Sign In
calling parent constructors
#1

[eluser]skaterdav85[/eluser]
When creating a new model or controller, I noticed that you don't have to call the parent class constructor. However, I just bought a new CI book called CodeIgniter 1.7 Professional Development, and all their examples in the first chapter (which introduces the MVC design pattern) call the parent class constructor for models and controllers. When is it necessary to do so?


Messages In This Thread
calling parent constructors - by El Forum - 05-15-2010, 11:39 PM
calling parent constructors - by El Forum - 05-15-2010, 11:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB