<?php $modules_permissions = AdvancedLayout::getModulesPermissions(); $modules_poly = AdvancedLayout::getModulesPolymorphism(); $polymorphisms = $sf_data->getRaw('polymorphisms'); $modules = AdvancedLayout::getModules('', true); ?> <table class="table table-bordered"> <thead> <tr> <th>Módulo</th> <th>Perfil de Acceso</th> <th>Actúa como</th> <th></th> </tr> </thead> <tbody> <?php foreach ($polymorphisms as $mo) { ?> <tr> <td rowspan="<?php echo max(1, count($modules_permissions[$mo['route']])); ?> "><i class="fa fa-fw fa-<?php echo $mo['icon']; ?> "></i> <?php echo $mo['title']; ?> </td>