This commit is contained in:
2021-12-07 15:59:13 +08:00
parent 7935e6a6a3
commit f62014ff34
3 changed files with 1 additions and 6 deletions
+1
View File
@@ -334,6 +334,7 @@ class Gii
private function getClassName($tableName): string
{
$res = [];
$tableName = str_replace($this->db->tablePrefix,'', $tableName);
foreach (explode('_', $tableName) as $n => $val) {
$res[] = ucfirst($val);
}