OEModule\OphCiExamination\components\OphCiExamination_API::getSnellenUnitId PHP Méthode

getSnellenUnitId() protected méthode

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