src/Webtrees/Module/Sosa/Model/SosaCalculator.php
public function computeFromIndividual(Individual $indi) {
        $dindi = new \MyArtJaub\Webtrees\Individual($indi);
        $current_sosas = $dindi->getSosaNumbers();
        foreach($current_sosas as $current_sosa => $gen) {
            $this->sosa_provider->deleteAncestors($current_sosa);
            $this->addNode($indi, $current_sosa);
        }
        $this->flushTmpSosaTable(true);
        return true;
    }
public function computeFromIndividual(Individual $indi) {
        $dindi = new \MyArtJaub\Webtrees\Individual($indi);
        $current_sosas = $dindi->getSosaNumbers();
        foreach($current_sosas as $current_sosa => $gen) {
            $this->sosa_provider->deleteAncestors($current_sosa);
            $this->addNode($indi, $current_sosa);
        }
        $this->flushTmpSosaTable(true);
        return true;
    }
public function computeFromIndividual ( Individual $ indi ) { $ dindi = new \ MyArtJaub \ Webtrees \ Individual ( $ indi ) ; $ current_sosas = $ dindi -> getSosaNumbers ( ) ; foreach ( $ current_sosas as $ current_sosa => $ gen ) { $ this -> sosa_provider -> deleteAncestors ( $ current_sosa ) ; $ this -> addNode ( $ indi , $ current_sosa ) ; } $ this -> flushTmpSosaTable ( true ) ; return true ; }
Compute all Sosa Ancestors from a specified Individual
@param Individual $indi
@return bool Result of the computation
Compute all Sosa Ancestors from a specified Individual