Example #1
0
echo 'echo $table->getTable()' . "\n";
var_export($table->getTable());
?>
    </pre>

<pre style="width: auto !important">
<?php 
echo $table;
?>
</pre>

    <p>Same rendering with a padding with empty cells:</p>

    <pre class="code" data-language="php">
<?php 
$table->setPadFlag(Library\Tool\Table::PAD_BY_EMPTY_CELLS);
echo '$table->setPadFlag(Library\\Tool\\Table::PAD_BY_EMPTY_CELLS);' . "\n";
echo 'echo $table->render(STR_PAD_BOTH)' . "\n";
?>
    </pre>

<pre style="overflow-x: visible">
<?php 
echo $table->render(STR_PAD_BOTH) . "\n";
?>
</pre>

    <p>Table manipulation:</p>

    <pre class="code" data-language="php">
<?php