Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Is this the correct way of using __set() in a model?
#2

[eluser]alpar[/eluser]
why
Code:
parent::Model()->$name = $value;

why wouldn't $this->$name do ? There is no point to assign a the value of a property to a parent since properties are inherited.


Messages In This Thread
[SOLVED] Is this the correct way of using __set() in a model? - by El Forum - 12-30-2007, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB