I’m sure Yii has a really great, easy way to do this, but I haven’t been able to find it:
I have a modified column on my table, but I don’t want it to show on the form when I edit that model. What’s the best way to hide it? I don’t need the value to be set, the database is already handling that.
You can conditionally display fields based on the scenario of the model. If what you’re trying to do is have the field hidden but only in certain cases. Just use an if, there’s no need to make it fancy.