MVC Model get() and set() vs. straight-up $model->var = val

jamway

New Member
When is the right time to use functions to set variables inside of my models, verse simply directly assigning them?AKA...When do I use:\[code\]$model->set('status','active');\[/code\]...instead of:\[code\]$model->status = 'active';\[/code\]
 
Back
Top