columns update
This commit is contained in:
1 parent
9e7c83b680
commit
a2284e3bf2
3 files changed
+27
-12
No files matched your search
+12
-1
@@ -287,10 +287,21 @@ class ListJsonTable extends JasonTable
|
||||
}
|
||||
}
|
||||
|
||||
// public function columns(array $data): void
|
||||
// {
|
||||
// foreach ($data as $key => $value) {
|
||||
// $this->beforePrintCell[$key] = $value;
|
||||
// }
|
||||
// }
|
||||
|
||||
public function columns(array $data): void
|
||||
{
|
||||
foreach ($data as $key => $value) {
|
||||
$this->beforePrintCell[$key] = $value;
|
||||
foreach ($value as $currentKey => $currentValue) {
|
||||
echo "<pre>";
|
||||
print_r($currentValue);
|
||||
// die();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user