Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16766 Rev 16768
Línea 1... Línea 1...
1
<?php
1
<?php
2
declare(strict_types=1);
2
declare(strict_types=1);
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea -...
4
namespace LeadersLinked\Controller;
-
 
5
 
-
 
6
use Laminas\Authentication\AuthenticationService;
4
namespace LeadersLinked\Controller;
7
use Laminas\Authentication\Result as AuthResult;
-
 
-
 
5
 
8
use Laminas\Db\Adapter\AdapterInterface;
6
use Laminas\Db\Adapter\AdapterInterface;
9
use LeadersLinked\Cache\CacheInterface;
-
 
10
use Laminas\Mvc\Controller\AbstractActionController;
7
 
11
use Laminas\Mvc\I18n\Translator;
-
 
12
use Laminas\Log\LoggerInterface;
8
use Laminas\Mvc\Controller\AbstractActionController;
13
use Laminas\View\Model\ViewModel;
-
 
14
use Laminas\View\Model\JsonModel;
9
use Laminas\Log\LoggerInterface;
15
 
-
 
16
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
-
 
17
use LeadersLinked\Form\PlanningObjectivesAndGoalsGoalsForm;
10
use Laminas\View\Model\JsonModel;
18
 
-
 
19
use LeadersLinked\Library\Functions;
-
 
20
use LeadersLinked\Mapper\UserMapper;
-
 
21
 
-
 
22
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsTaskMapper;
-
 
23
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsGoalsMapper;
11
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
24
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsObjectivesMapper;
12
use LeadersLinked\Library\Functions;
25
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMapper;
13
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMapper;
26
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMembersMapper;
14
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMembersMapper;
-
 
15
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
27
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
16
use LeadersLinked\Model\HighPerformanceTeamsGroups;
28
use LeadersLinked\Model\HighPerformanceTeamsGroups;
17
 
29
class HighPerformanceTeamsGroupsViewGoalsController extends AbstractActionController
18
class HighPerformanceTeamsGroupsViewGoalsController extends AbstractActionController
30
{
19
{
31
    /**
20
    /**
32
     *
21
     *
33
     * @var AdapterInterface
22
     * @var AdapterInterface
Línea 34... Línea -...
34
     */
-
 
35
    private $adapter;
-
 
36
    
-
 
37
    
-
 
38
    /**
-
 
39
     *
-
 
40
     * @var CacheInterface
-
 
41
     */
23
     */
42
    private $cache;
24
    private $adapter;
43
    
25
    
44
    /**
26
    /**
45
     *
27
     *
Línea 51... Línea 33...
51
     *
33
     *
52
     * @var array
34
     * @var array
53
     */
35
     */
54
    private $config;
36
    private $config;
Línea 55... Línea -...
55
    
-
 
56
    
-
 
57
    
37
    
58
    /**
38
    /**
59
     *
39
     *
60
     * @param AdapterInterface $adapter
-
 
61
     * @param CacheInterface $cache
40
     * @param AdapterInterface $adapter
62
     * @param LoggerInterface $logger
41
     * @param LoggerInterface $logger
63
     * @param array $config
42
     * @param array $config
64
     */
43
     */
65
    public function __construct($adapter, $cache , $logger, $config)
44
    public function __construct($adapter, $logger, $config)
66
    {
45
    {
67
        $this->adapter      = $adapter;
-
 
68
        $this->cache        = $cache;
46
        $this->adapter = $adapter;
69
        $this->logger       = $logger;
47
        $this->logger = $logger;
70
        $this->config       = $config;
-
 
71
        
-
 
72
        
48
        $this->config = $config;
73
    }
49
    }
74
   /* 
50
   /* 
75
  public function idObjective($uuid){
51
  public function idObjective($uuid){
76
        $currentUserPlugin = $this->plugin('currentUserPlugin');
52
        $currentUserPlugin = $this->plugin('currentUserPlugin');