/** * @return string */ protected function tableFooter() { $Code = '<tbody>'; $Code .= '<tr class="no-zebra"><td colspan="4" class="r">' . __('Average') . ':</td>'; $Code .= '<td class="c">' . ($this->AverageTime != null ? $this->AverageTime->string() : '') . '</td>'; $Code .= $this->DemandedTime->isZero() ? '' : '<td></td>'; $Code .= '<td class="c">' . ($this->AveragePace != null ? $this->AveragePace->valueWithAppendix() : '') . '</td>'; $Code .= $this->DemandedPace->isEmpty() ? '' : '<td></td>'; $Code .= '<td colspan="' . (3 + count($this->AdditionalKeys)) . '"></td>'; $Code .= '</tr>'; $Code .= '</tbody>'; $Code .= '</table>'; $Code .= $this->checkboxToToggleInactiveSplits(); return $Code; }