OEModule\OphCiExamination\models\Element_OphCiExamination_PostOpComplications::beforeSave PHP Method

beforeSave() public method

public beforeSave ( )
    public function beforeSave()
    {
        // Always both eyes because we record default values to "not recorded" eyes/panels
        $this->eye_id = \Eye::BOTH;
        return parent::beforeSave();
    }