OEModule\OphCiExamination\models\Element_OphCiExamination_OCT::getLetter_string PHP Method

getLetter_string() public method

get the letter string for the element used by correspondence if installed.
public getLetter_string ( ) : string
return string
    public function getLetter_string()
    {
        $res = "OCT:\n";
        if ($this->hasRight()) {
            $res .= $this->getLetterStringForSide('right');
        }
        if ($this->hasLeft()) {
            $res .= $this->getLetterStringForSide('left');
        }
        return $res;
    }