src/Webtrees/Module/GeoDispersion/Model/GeoAnalysisProvider.php
protected function getPlacesHierarchyFromHeader() {
        $head = GedcomRecord::getInstance('HEAD', $this->tree);
        $head_place = $head->getFirstFact('PLAC');
        if($head_place && $head_place_value = $head_place->getAttribute('FORM')){
            return array_reverse(array_map('trim',explode(',', $head_place_value)));
        }
        return null;
    }
protected function getPlacesHierarchyFromHeader() {
        $head = GedcomRecord::getInstance('HEAD', $this->tree);
        $head_place = $head->getFirstFact('PLAC');
        if($head_place && $head_place_value = $head_place->getAttribute('FORM')){
            return array_reverse(array_map('trim',explode(',', $head_place_value)));
        }
        return null;
    }
protected function getPlacesHierarchyFromHeader ( ) { $ head = GedcomRecord :: getInstance ( 'HEAD' , $ this -> tree ) ; $ head_place = $ head -> getFirstFact ( 'PLAC' ) ; if ( $ head_place && $ head_place_value = $ head_place -> getAttribute ( 'FORM' ) ) { return array_reverse ( array_map ( 'trim' , explode ( ',' , $ head_place_value ) ) ) ; } return null ; }
Returns an array of the place hierarchy, as defined in the GEDCOM header.
The places are reversed compared to normal GEDCOM structure.

@return array|null
Returns an array of the place hierarchy as defined in the GEDCOM header . The places are reversed compared to normal GEDCOM structure .