public function getLetter_string() { $res = "OCT:\n"; if ($this->hasRight()) { $res .= $this->getLetterStringForSide('right'); } if ($this->hasLeft()) { $res .= $this->getLetterStringForSide('left'); } return $res; }