Exemplo n.º 1
0
?>
<div class="row">

    <table class="table table-striped">
        <thead>
        <tr>
            <th>#</th>
            <th>Nom</th>
            <th>Créé le</th>
            <th>Statut</th>
            <th>Action</th>
        </tr>
        </thead>
        <tbody>
        <?php 
foreach ($dessertDao->getAll() as $dessert) {
    ?>
            <tr>
                <td><?php 
    echo $dessert->getId();
    ?>
</td>
                <td><?php 
    echo $dessert->getName();
    ?>
</td>
                <td><?php 
    echo Utils::formatDate($dessert->getCreated());
    ?>
</td>
                <td><?php