public function addDataTable(DataTable $tableToSum)
    {
        foreach ($this->getDataTables() as $childTable) {
            $childTable->addDataTable($tableToSum);
        }
    }
public function addDataTable(DataTable $tableToSum)
    {
        foreach ($this->getDataTables() as $childTable) {
            $childTable->addDataTable($tableToSum);
        }
    }
public function addDataTable ( DataTable $ tableToSum ) { foreach ( $ this -> getDataTables ( ) as $ childTable ) { $ childTable -> addDataTable ( $ tableToSum ) ; } }
Sums a DataTable to all the tables in this array.

_Note: Will only add `$tableToSum` if the childTable has some rows._

See {@link Piwik\DataTable::addDataTable()}.

@param DataTable $tableToSum
Sums a DataTable to all the tables in this array .