src/Webtrees/Module/Sosa/Model/SosaProvider.php
public function getRootIndi() {
        $root_indi_id = $this->getRootIndiId();
        if(!empty($root_indi_id)) {
            return Individual::getInstance($root_indi_id, $this->tree);
        }
        return null;
    }
public function getRootIndi() {
        $root_indi_id = $this->getRootIndiId();
        if(!empty($root_indi_id)) {
            return Individual::getInstance($root_indi_id, $this->tree);
        }
        return null;
    }
public function getRootIndi ( ) { $ root_indi_id = $ this -> getRootIndiId ( ) ; if ( ! empty ( $ root_indi_id ) ) { return Individual :: getInstance ( $ root_indi_id , $ this -> tree ) ; } return null ; }
Return the root individual for the reference tree and user.
@return Individual Individual
Return the root individual for the reference tree and user .