/**
  * @return array
  */
 public function getHeadlineFields()
 {
     if (!is_null($this->fields)) {
         return $this->fields;
     }
     $this->fields = [];
     foreach ($this->section->getFields() as $field) {
         if (!$field->isVisible()) {
             continue;
         }
         $this->fields[$field->getKey()] = $field->getHeadlineParameters($this);
         if ($this->section->getDocumentTitleKey() == $field->getDBKey()) {
             $this->fields[$field->getKey()]['type'] = 'link';
         }
     }
     return $this->fields;
 }
 /**
  * @return string
  */
 public function getTitle()
 {
     return $this->{$this->section->getDocumentTitleKey()};
 }