Lines Matching refs:fact
135 foreach ($facts as $id => $fact) {
136 $location = new PlaceLocation($fact->place()->gedcomName());
139 $latitude = $fact->latitude();
140 $longitude = $fact->longitude();
148 $icons = $fact->record() === $indi ? static::OWN_ICONS : static::ICONS;
159 'icon' => $icons[$fact->tag()] ?? static::DEFAULT_ICON,
160 'tooltip' => $fact->place()->gedcomName(),
161 … 'summary' => view('modules/places/event-sidebar', $this->summaryData($indi, $fact)),
200 * @param Fact $fact
204 private function summaryData(Individual $individual, Fact $fact): array argument
206 $record = $fact->record();
209 $tag = $fact->label();
229 'value' => $fact->value(),
230 'date' => $fact->date()->display($individual->tree(), null, true),
231 'place' => $fact->place(),