wip add wfl

This commit is contained in:
salam committed 2026-10-30 09:26:37 +01:00
1 parent a125dddb4c
commit bf5e06848a
17 files changed
+188 -43

No files matched your search

+14
View File
@@ -298,6 +298,18 @@ class Statistic extends BaseDashboard
$row[] = $data['tsh_liga_season']['home'];
$row[] = $data['tsh_liga_season']['away'];
$copystring .= implode(';', $row)."\n";
$row = [];
$row = array_fill(0, 5, '');
$row[] = 'Was Fouled';
$row[] = $data['wfl']['home'];
$row[] = $data['wfl']['away'];
$row[] = $data['wfl_team']['home'];
$row[] = $data['wfl_team']['away'];
$row[] = $data['wfl_team_season']['home'];
$row[] = $data['wfl_team_season']['away'];
$row[] = $data['wfl_liga_season']['home'];
$row[] = $data['wfl_liga_season']['away'];
$copystring .= implode(';', $row)."\n";
return $copystring;
}
@@ -479,6 +491,7 @@ class Statistic extends BaseDashboard
'crd' => 'phosphor-cards',
'snt' => 'phosphor-target',
'tsh' => 'phosphor-chart-polar',
'wfl' => 'phosphor-first-aid-kit',
default => 'phosphor-soccer-ball',
};
})
@@ -492,6 +505,7 @@ class Statistic extends BaseDashboard
'crd' => 'Cards',
'snt' => 'Shots On Target',
'tsh' => 'Total Shots',
'wfl' => 'Was Fouled',
]);
}