OEModule\OphCiExamination\components\OphCiExamination_API::getSnellenUnitId PHP 메소드

getSnellenUnitId() 보호된 메소드

gets the id for the Snellen Metre unit type for VA.
protected getSnellenUnitId ( ) : integer | null
리턴 integer | null
    protected function getSnellenUnitId()
    {
        if ($unit = models\OphCiExamination_VisualAcuityUnit::model()->find('name = ?', array('Snellen Metre'))) {
            return $unit->id;
        }
        return;
    }
OphCiExamination_API