public function setDefaultOptions() { if (Yii::app()->controller->selectedEyeForEyedraw->id == 1) { $this->meridian = 0; } }