php - yii rules how to add validation for a non-database field?
黄舟2017-05-17 09:55:59
0
1
596
For example, I want to add a verification for field A, but it does not exist in the database. An error will be reported at this time. Are there any parameters that can be set?
Override
rules
Method