$myUser->login)) as $dashboard) { foreach (DashboardWidget::loadAll(array('dashboard'=>$dashboard->id)) as $widget) { $widgets[] = $widget; } } usort($widgets, function($a,$b){ if($a > $b) return 1; if($a < $b) return -1; if($a == $b) return 0; }); ?>
Libellé | can('dashboard','configure')): ?>Utilisateur | Icône | Par défaut | Obligatoire | |
---|---|---|---|---|---|
can('dashboard','configure')): ?> | |||||
{{label}} | can('dashboard','configure')): ?>{{user}} | {{icon}} | {{#default}}{{/default}} {{^default}}{{/default}} | {{#mandatory}}{{/mandatory}} {{^mandatory}}{{/mandatory}} |
|