Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11184 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11184 Rev 11185
Línea 13... Línea 13...
13
use Laminas\View\Model\ViewModel;
13
use Laminas\View\Model\ViewModel;
14
use Laminas\View\Model\JsonModel;
14
use Laminas\View\Model\JsonModel;
15
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
15
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
Línea 16... Línea 16...
16
 
16
 
-
 
17
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
17
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
18
use LeadersLinked\Model\HighPerformanceTeamsGroups;
18
use LeadersLinked\Model\Feed;
19
use LeadersLinked\Model\Feed;
19
use LeadersLinked\Form\HighPerformanceTeamsGroupsFeedForm;
20
use LeadersLinked\Form\HighPerformanceTeamsGroupsFeedForm;
20
use LeadersLinked\Form\TopicForm;
21
use LeadersLinked\Form\TopicForm;
21
use LeadersLinked\Form\HighPerformanceTeamsGroupsMembersTypeForm;
22
use LeadersLinked\Form\HighPerformanceTeamsGroupsMembersTypeForm;
Línea 114... Línea 115...
114
            $viewModel = new ViewModel();  
115
            $viewModel = new ViewModel();  
115
            if (!$highPerformanceTeamsGroups) {
116
            if (!$highPerformanceTeamsGroups) {
116
                $viewModel->setTemplate('leaders-linked/no-access/index.phtml');
117
                $viewModel->setTemplate('leaders-linked/no-access/index.phtml');
117
                return $viewModel;
118
                return $viewModel;
118
            }
119
            }
-
 
120
 
119
            if($highPerformanceTeamsGroups->status != HighPerformanceTeamsGroups::STATUS_ACTIVE) {
121
            if($highPerformanceTeamsGroups->status != HighPerformanceTeamsGroups::STATUS_ACTIVE) {
120
                $viewModel->setTemplate('leaders-linked/no-access/index.phtml');
122
                $viewModel->setTemplate('leaders-linked/no-access/index.phtml');
121
                return $viewModel ;
123
                return $viewModel ;
122
            } 
124
            }