|
|
|
|
|
|
|
|
$itemsUserArray = [ |
|
|
$itemsUserArray = [ |
|
|
[ |
|
|
[ |
|
|
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', |
|
|
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', |
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/index']), |
|
|
|
|
|
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/index']), |
|
|
] |
|
|
] |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$itemsUserArray[] = [ |
|
|
$itemsUserArray[] = [ |
|
|
'label' => '<span class="glyphicon glyphicon-user"></span> Mon profil', |
|
|
'label' => '<span class="glyphicon glyphicon-user"></span> Mon profil', |
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['user/update']), |
|
|
|
|
|
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['user/update']), |
|
|
]; |
|
|
]; |
|
|
$itemsUserArray[] = [ |
|
|
$itemsUserArray[] = [ |
|
|
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion', |
|
|
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion', |
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/logout']), |
|
|
|
|
|
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/logout']), |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
$itemUser = [ |
|
|
$itemUser = [ |