sets scenario for a model in Yii 1.0

in Yii 1.0 Framework sets scenario for a model in different condition