Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16761 | Rev 16764 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16761 Rev 16763
Línea 1... Línea 1...
1
<?php
1
<?php
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
-
 
3
$currentUser    = $this->currentUserHelper();
Línea 3... Línea -...
3
 
-
 
4
$currentUser = $this->currentUserHelper();
4
 
Línea 5... Línea 5...
5
$currentUser = $currentUser->getUser();
5
$roleName = $currentUser->getUserTypeId();
6
 
-
 
7
$routeTimeline = $this->url('feeds/timeline');
-
 
8
 
6
 
Línea 9... Línea 7...
9
$roleName = $currentUser->getUserTypeId();
7
$routeTimeline = $this->url('feeds/timeline');
10
$allowFastSurvey = $acl->isAllowed($roleName, 'fast-survey') ? 1 : 0;
8
$allowFastSurvey = $acl->isAllowed($roleName, 'fast-survey') ? 1 : 0;