Détail domaine

Html->link(__(' Editer ce domaine'), [ 'action' => 'edit', $surCategory->id ], [ 'style' => 'margin-right: 40px; display: inline-block', 'escape' => false, 'onclick' => 'return true;' ]); } if (in_array($role, [ 'Super Administrateur' ])) { echo $this->Form->postLink(__(' Supprimer ce domaine'), [ 'action' => 'delete', $surCategory->id ], [ 'style' => 'display: inline-block', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $surCategory->id) ]); } $displayElement(__('Nom'), h($surCategory->nom)); ?>

Catégories associées (count() ?>)

Html->link(h($category->nom), ['controller' => 'Categories', 'action' => 'view', h($category->id)]); ?> Html->link(__(''), ['controller' => 'Categories', 'action' => 'view', $category->id], ['escape' => false, 'style' => 'margin:0']) ?>

Materiels associés (count()?>)

Html->link(h($materiel->designation), ['controller' => 'Materiels', 'action' => 'view', h($materiel->id)]); ?> Html->link(__(''), ['controller' => 'Materiels', 'action' => 'view', $materiel->id], ['escape' => false, 'style' => 'margin:0']) ?>