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.


Messages In This Thread
User guide addition to the Models page - by El Forum - 03-14-2008, 08:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB