ADD query of whole database

This commit is contained in:
2023-10-15 16:17:17 +02:00
parent e39dcaf35c
commit 36cb70eea0
4 changed files with 121 additions and 11 deletions

View File

@ -10,4 +10,23 @@
?>
<h2>Welcome to my Depot Component!</h2>
<p>Link: <a href="index.php?option=com_depot&view=part&layout=edit&id=1">Part</a></p>
<p>Link: <a href="index.php?option=com_depot&view=part&layout=edit&id=1">Part</a></p>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>COM_DEPOT_TABLE_HEAD_ID</th>
<th>COM_DEPOT_TABLE_HEAD_NAME</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->items as $i => $item): ?>
<tr>
<td>
<?= $item->id ?>
<td>
<?= $item->component_name ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>