src/Webtrees/Functions/FunctionsPrint.php
public static function htmlPlacesCloud($places, $totals, Tree $tree) {
		$items = array();
		
		foreach ($places as $place => $count) {
			/** var \MyArtJaub\Webtrees\Place */
			$dplace = Place::getIntance($place, $tree);
			$items[] = array(
				'text' => $dplace->htmlFormattedName('%1 (%2)'),
				'count' => $count,
				'url' => $dplace->getDerivedPlace()->getURL()
			);
		}
		
		return self::htmlListCloud($items, $totals);
	}
public static function htmlPlacesCloud($places, $totals, Tree $tree) {
		$items = array();
		
		foreach ($places as $place => $count) {
			/** var \MyArtJaub\Webtrees\Place */
			$dplace = Place::getIntance($place, $tree);
			$items[] = array(
				'text' => $dplace->htmlFormattedName('%1 (%2)'),
				'count' => $count,
				'url' => $dplace->getDerivedPlace()->getURL()
			);
		}
		
		return self::htmlListCloud($items, $totals);
	}
public static function htmlPlacesCloud ( $ places , $ totals , Tree $ tree ) { $ items = array ( ) ; foreach ( $ places as $ place => $ count ) { /** var \MyArtJaub\Webtrees\Place */ $ dplace = Place :: getIntance ( $ place , $ tree ) ; $ items [ ] = array ( 'text' => $ dplace -> htmlFormattedName ( '%1 (%2)' ) , 'count' => $ count , 'url' => $ dplace -> getDerivedPlace ( ) -> getURL ( ) ) ; } return self :: htmlListCloud ( $ items , $ totals ) ; }
Returns HTML code to include a place cloud

@param array $places Array of places to display in the cloud
@param bool $totals Display totals for a place
@param \Fisharebest\Webtrees\Tree $tree Tree
@return string Place Cloud HTML Code
Returns HTML code to include a place cloud