original_string: private function sumTable($table)
      {
          $metadata = $table->getMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME);
          $enableCopyMetadata = false;
  
          foreach ($table->getRowsWithoutSummaryRow() as $row) {
              $this->sumRow($row, $enableCopyMetadata, $metadata);
          }
  
          $summaryRow = $table->getRowFromId(DataTable::ID_SUMMARY_ROW);
  
          if ($summaryRow) {
              $this->sumRow($summaryRow, $enableCopyMetadata, $metadata);
          }
      }
code: private function sumTable($table)
      {
          $metadata = $table->getMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME);
          $enableCopyMetadata = false;
  
          foreach ($table->getRowsWithoutSummaryRow() as $row) {
              $this->sumRow($row, $enableCopyMetadata, $metadata);
          }
  
          $summaryRow = $table->getRowFromId(DataTable::ID_SUMMARY_ROW);
  
          if ($summaryRow) {
              $this->sumRow($summaryRow, $enableCopyMetadata, $metadata);
          }
      }
code_tokens: private function sumTable ( $ table ) { $ metadata = $ table -> getMetadata ( DataTable :: COLUMN_AGGREGATION_OPS_METADATA_NAME ) ; $ enableCopyMetadata = false ; foreach ( $ table -> getRowsWithoutSummaryRow ( ) as $ row ) { $ this -> sumRow ( $ row , $ enableCopyMetadata , $ metadata ) ; } $ summaryRow = $ table -> getRowFromId ( DataTable :: ID_SUMMARY_ROW ) ; if ( $ summaryRow ) { $ this -> sumRow ( $ summaryRow , $ enableCopyMetadata , $ metadata ) ; } }
docstring: Sums a tables row with this one.
  
  @param DataTable $table
docstring_tokens: Sums a tables row with this one .