src/Webtrees/Module/PatronymicLineage/Views/LineageView.php
private function printRootLineage(LineageRootNode $node) {    	
    	print '<div class="patrolin_tree">';
    	if($node->getIndividual() === null) {
    		$fam_nodes = $node->getFamiliesNodes();
    		foreach($fam_nodes as $fam){
    			foreach($fam_nodes[$fam] as $child_node) {
    				if($child_node) {
    					$this->printLineage($child_node);
    				}
    			}
    		}
    	}
    	else {
    		$this->printLineage($node);
    	}
    	echo '</div>';
    	
    	$places = $node->getPlaces();
    	if($places && count($places)>0){
    		echo '<div class="patrolin_places">';
    		echo \MyArtJaub\Webtrees\Functions\FunctionsPrint::htmlPlacesCloud($places, false, $this->data->get('tree'));
    		echo '</div>';
    	}
    }
private function printRootLineage(LineageRootNode $node) {    	
    	print '<div class="patrolin_tree">';
    	if($node->getIndividual() === null) {
    		$fam_nodes = $node->getFamiliesNodes();
    		foreach($fam_nodes as $fam){
    			foreach($fam_nodes[$fam] as $child_node) {
    				if($child_node) {
    					$this->printLineage($child_node);
    				}
    			}
    		}
    	}
    	else {
    		$this->printLineage($node);
    	}
    	echo '</div>';
    	
    	$places = $node->getPlaces();
    	if($places && count($places)>0){
    		echo '<div class="patrolin_places">';
    		echo \MyArtJaub\Webtrees\Functions\FunctionsPrint::htmlPlacesCloud($places, false, $this->data->get('tree'));
    		echo '</div>';
    	}
    }
private function printRootLineage ( LineageRootNode $ node ) { print '<div class="patrolin_tree">' ; if ( $ node -> getIndividual ( ) === null ) { $ fam_nodes = $ node -> getFamiliesNodes ( ) ; foreach ( $ fam_nodes as $ fam ) { foreach ( $ fam_nodes [ $ fam ] as $ child_node ) { if ( $ child_node ) { $ this -> printLineage ( $ child_node ) ; } } } } else { $ this -> printLineage ( $ node ) ; } echo '</div>' ; $ places = $ node -> getPlaces ( ) ; if ( $ places && count ( $ places ) > 0 ) { echo '<div class="patrolin_places">' ; echo \ MyArtJaub \ Webtrees \ Functions \ FunctionsPrint :: htmlPlacesCloud ( $ places , false , $ this -> data -> get ( 'tree' ) ) ; echo '</div>' ; } }
Print a root lineage node
@param LineageRootNode $node
Print a root lineage node