Whereas {@link make()} creates a Map for each result index (period and|or site), this will only create a Map
for a period result index and move all site related indices into one dataTable. This is the same as doing
$dataTableFactory->make()->mergeChildren() just much faster. It is mainly useful for reports across many sites
eg MultiSites.getAll. Was done as part of https://github.com/piwik/piwik/issues/6809
public makeMerged ( array $index, array $resultIndices ) : |
||
$index | array | @see DataCollection |
$resultIndices | array | an array mapping metadata names with pretty metadata labels. |
Résultat |