/**
  * Sets the places marker for the attendee notification.
  *
  * @param tx_seminars_seminar $event event of this registration
  * @param bool $useHtml whether to create HTML instead of plain text
  *
  * @return void
  */
 private function fillPlacesMarker(tx_seminars_seminar $event, $useHtml)
 {
     if (!$event->hasPlace()) {
         $this->setMarker('place', $this->translate('message_willBeAnnounced'));
         return;
     }
     $newline = $useHtml ? '<br />' : LF;
     $formattedPlaces = array();
     /** @var tx_seminars_Model_Place $place */
     foreach ($event->getPlaces() as $place) {
         $formattedPlaces[] = $this->formatPlace($place, $newline);
     }
     $this->setMarker('place', implode($newline . $newline, $formattedPlaces));
 }