Welcome Guest, Not a member yet? Register   Sign In
missing code in user guide?
#1

[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?
#2

[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).




Theme © iAndrew 2016 - Forum software by © MyBB