missing code in user guide? |
[eluser]Majd Taby[/eluser]
Hey, I just noticed that in the example of the controller in: http://ellislab.com/codeigniter/user-gui...ml#loading , there is no constructor which initializes the parent Controller class...am i missing something?
[eluser]Matthew Pennell[/eluser]
Yes - the blog() function shown isn't the constructor for that class, so it doesn't need the "parent::Controller" code. I think it's just assumed that there is a constructor in the code (as that has been covered earlier in the Controller help page). |
Welcome Guest, Not a member yet? Register Sign In |