columns update
This commit is contained in:
@ -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