Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16766 Rev 16768
Línea 3... Línea 3...
3
declare(strict_types=1);
3
declare(strict_types=1);
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
namespace LeadersLinked\Controller;
5
namespace LeadersLinked\Controller;
6
 
-
 
-
 
6
 
7
use Laminas\Db\Adapter\AdapterInterface;
7
use Laminas\Db\Adapter\AdapterInterface;
8
use LeadersLinked\Cache\CacheInterface;
8
 
9
use Laminas\Mvc\Controller\AbstractActionController;
9
use Laminas\Mvc\Controller\AbstractActionController;
10
use Laminas\Mvc\I18n\Translator;
10
use Laminas\Mvc\I18n\Translator;
11
use Laminas\Log\LoggerInterface;
11
use Laminas\Log\LoggerInterface;
Línea 31... Línea 31...
31
     *
31
     *
32
     * @var AdapterInterface
32
     * @var AdapterInterface
33
     */
33
     */
34
    private $adapter;
34
    private $adapter;
Línea 35... Línea -...
35
 
-
 
36
    /**
-
 
37
     *
-
 
38
     * @var CacheInterface
-
 
39
     */
-
 
Línea 40... Línea 35...
40
    private $cache;
35
 
41
 
36
 
42
    /**
37
    /**
43
     *
38
     *
Línea 58... Línea 53...
58
    private $translator;
53
    private $translator;
Línea 59... Línea 54...
59
    
54
    
60
    /**
55
    /**
61
     *
56
     *
62
     * @param AdapterInterface $adapter
-
 
63
     *@param CacheInterface $cache
57
     * @param AdapterInterface $adapter
64
     * @param LoggerInterface $logger
58
     * @param LoggerInterface $logger
65
     * @param array $config
59
     * @param array $config
66
     * @param Translator $translator
60
     * @param Translator $translator
67
     */
61
     */
68
    public function __construct($adapter, $cache, $logger, $config, $translator)
62
    public function __construct($adapter, $logger, $config, $translator)
69
    {
63
    {
70
        $this->adapter = $adapter;
-
 
71
        $this->cache = $cache;
64
        $this->adapter = $adapter;
72
        $this->logger = $logger;
65
        $this->logger = $logger;
73
        $this->config = $config;
66
        $this->config = $config;
74
        $this->translator = $translator;
67
        $this->translator = $translator;
Línea 713... Línea 706...
713
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_POSITION') . ' : ',
706
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_POSITION') . ' : ',
714
                'content' => $content->name,
707
                'content' => $content->name,
715
            ],
708
            ],
716
            [
709
            [
717
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATED')  . ' : ',
710
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATED')  . ' : ',
718
                'content' => utf8_decode($evaluated),
711
                'content' => Functions::utf8_decode($evaluated),
719
            ],
712
            ],
Línea 720... Línea 713...
720
            
713
            
721
            [
714
            [
722
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATE_SIGNATURE') . ' : ',
715
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATE_SIGNATURE') . ' : ',
723
                'content' => ''
716
                'content' => ''
724
            ],
717
            ],
725
            [
718
            [
726
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATOR') . ' : ',
719
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATOR') . ' : ',
727
                'content' => utf8_decode($evaluator),
720
                'content' => Functions::utf8_decode($evaluator),
728
            ],
721
            ],
729
            [
722
            [
730
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATOR_SIGNATURE') . ' : ',
723
                'title' => $this->translator->translate('LABEL_PDF_PERFORMANCE_EVALUATION_EVALUATOR_SIGNATURE') . ' : ',
731
                'content' => ''
724
                'content' => ''