Storing meta data in models

If user table contaion id and name column $u=new User();, how can I assign some auxilary properties to $u? Currently, $x->noRow=3 is ignored by Model.



31.2k

Hi,

I think that by defining a new database field "noRow" in your User table will solve that !



13.7k

Clearly I don't want to alter database for non-persistent vairaibles.