ver.0.3
This commit is contained in:
23
table2.php
Normal file
23
table2.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use src\debug\Debug;
|
||||
|
||||
require_once "vendor/autoload.php";
|
||||
|
||||
$json = file_get_contents(__DIR__ . '/vendor/itguild/tables/simple.json');
|
||||
|
||||
$json2 = file_get_contents(__DIR__ . '/mySimple.json');
|
||||
|
||||
$table = new \Itguild\Tables\ListJsonTable($json);
|
||||
$table2 = new \Itguild\Tables\ListJsonTable($json2);
|
||||
|
||||
|
||||
$table->create();
|
||||
$table->render();
|
||||
|
||||
$table2->create();
|
||||
$table2->render();
|
||||
//$table->beginTable();
|
||||
|
||||
/*echo "<pre>";
|
||||
print_r($table);*/
|
Reference in New Issue
Block a user