Welcome Guest, Not a member yet? Register   Sign In
User guide addition to the Models page
#1

[eluser]xwero[/eluser]
After this tread from dtrenz i think the models page should have a similar statement as on the controller page namely :
Quote:If you intend to use a constructor in any of your Models, you MUST place the following line of code in it:
Code:
parent::Model();

The reason this line is necessary is because your local constructor will be overriding the one in the parent model class so we need to manually call it.




Theme © iAndrew 2016 - Forum software by © MyBB