/** * lista de todos as categorias * @return */ public function listar($mensagens = array()) { $categorias = array(); $categoriaDAO = new CategoriaDAO(); $categorias = $categoriaDAO->listar(); $includes[] = new IncludeView('categoria.lista.php', '', ''); if ($msg != "") { $mensagens[] = $msg; } include_once "../base/conteudo.php"; }
<strong><center>Registro concluído com sucesso</center></strong> </div>'; } } ?> <table class="table table-striped table-bordered bootstrap-datatable datatable"> <thead> <tr> <th>Nome</th> <th width="10%">Ação</th> </tr> </thead> <tbody> <?php $DAO->listar(); ?> </tbody> </table> </div> </div> </div> <!-- content ends --> </div><!--/#content.span10--> </div><!--/fluid-row--> <hr> <?php include_once INTERNAL_ROOT_PORTAL . '/footer.php';