I’ve got a private field $hired that I include in my CGridView. Once I fill in the filter and send it back I want massive assignment to work with $hired, so I’ve made it a safe field in my model, but it doesn’t get set. I tried adding a setHired() function but it doesn’t get called. What’s the correct way to do this?
And FYI, I need the value to be private to prevent lazy loading of the relation that I need to determine $hired. I don’t always need $hired, and would like to save the queries.