Example #1
0
                    <thead>
                        <tr>
                            <th data-column-id="nome">Nome:</th>
                            <th data-column-id="parentesco">Parentesco:</th>
                            <th data-column-id="idade">Idade:</th>
                            <th data-column-id="es">Estado Civil:</th>
                            <th data-column-id="ocu">Ocupação:</th>
                            <th data-column-id="renda">Renda:</th>
                            <th data-column-id="escola">Escolaridade:</th>
                            <th data-column-id="links" data-formatter="commands" data-sortable="false">-</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php 
    $composicao = new AdminComposicao($familia);
    if ($composicao->getFullFamily()) {
        foreach ($composicao->getFullFamily() as $fam) {
            extract($fam);
            ?>
                                <tr>
                                    <td><span><?php 
            echo $nome;
            ?>
</span></td>
                                    <td><span><?php 
            echo $parentesco;
            ?>
</span></td>
                                    <td><span><?php 
            echo $idade;
            ?>