OEModule\OphCiExamination\models\Element_OphCiExamination_HistoryRisk::yesNoText PHP Метод

yesNoText() защищенный Метод

protected yesNoText ( $value ) : string
$value
Результат string
    protected function yesNoText($value)
    {
        $text = '';
        switch ($value) {
            case '0':
                $text = 'Not Checked';
                break;
            case '1':
                $text = 'Yes';
                break;
            case '2':
                $text = 'No';
                break;
        }
        return $text;
    }