add JasonTable class
This commit is contained in:
1 parent
67a3f5770e
commit
f53346610e
5 files changed
+80
-103
No files matched your search
+2
-1
@@ -7,7 +7,8 @@ use Itguild\Tables\ListJsonTable;
|
||||
$json = file_get_contents('simple.json');
|
||||
$table = new ListJsonTable($json);
|
||||
|
||||
$table->columns([
|
||||
//$table->columns([
|
||||
$table->setBeforePrintCell([
|
||||
'status' => function ($ceil) {
|
||||
return getStatusLabel()[$ceil];
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user