OEModule\OphCiExamination\models\Element_OphCiExamination_Refraction::getType PHP Method

getType() public method

public getType ( $side )
    public function getType($side)
    {
        if ($this->{$side . '_type_id'}) {
            return $this->{$side . '_type'}->name;
        } else {
            return $this->{$side . '_type_other'};
        }
    }