Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17002 Rev 17008
Línea 12... Línea 12...
12
use Laminas\View\Model\ViewModel;
12
use Laminas\View\Model\ViewModel;
13
use Laminas\View\Model\JsonModel;
13
use Laminas\View\Model\JsonModel;
Línea 14... Línea 14...
14
 
14
 
15
use LeadersLinked\Mapper\CompanyMapper;
15
use LeadersLinked\Mapper\CompanyMapper;
16
use LeadersLinked\Mapper\CompanyUserMapper;
16
use LeadersLinked\Mapper\CompanyUserMapper;
17
use LeadersLinked\Form\CreateFeedForm;
17
use LeadersLinked\Form\Feed\CreateFeedForm;
18
use LeadersLinked\Form\CommentForm;
18
use LeadersLinked\Form\Feed\CommentForm;
19
use LeadersLinked\Form\CommentAnswerForm;
19
use LeadersLinked\Form\Feed\CommentAnswerForm;
20
use LeadersLinked\Model\Comment;
20
use LeadersLinked\Model\Comment;
21
use LeadersLinked\Mapper\CommentMapper;
21
use LeadersLinked\Mapper\CommentMapper;
22
use LeadersLinked\Mapper\FeedMapper;
-
 
23
use LeadersLinked\Mapper\GroupMapper;
22
use LeadersLinked\Mapper\FeedMapper;
24
use LeadersLinked\Model\Feed;
23
use LeadersLinked\Model\Feed;
25
use LeadersLinked\Mapper\QueryMapper;
24
use LeadersLinked\Mapper\QueryMapper;
26
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
25
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
27
use LeadersLinked\Library\Image;
26
use LeadersLinked\Library\Image;
28
use LeadersLinked\Model\VideoConvert;
27
use LeadersLinked\Model\VideoConvert;
29
use LeadersLinked\Mapper\VideoConvertMapper;
-
 
30
use LeadersLinked\Mapper\LikeMapper;
-
 
31
use Laminas\Paginator\Adapter\DbSelect;
-
 
32
use Laminas\Paginator\Paginator;
-
 
33
use LeadersLinked\Mapper\UserMapper;
-
 
34
use LeadersLinked\Library\Functions;
-
 
Línea 35... Línea -...
35
use LeadersLinked\Model\Company;
-
 
36
 
28
use LeadersLinked\Mapper\VideoConvertMapper;
37
use LeadersLinked\Mapper\TopicMapper;
29
 
38
use LeadersLinked\Mapper\FastSurveyMapper;
30
use LeadersLinked\Mapper\FastSurveyMapper;
39
use LeadersLinked\Model\FastSurvey;
31
use LeadersLinked\Model\FastSurvey;
-
 
32
use LeadersLinked\Form\FastSurvey\FastSurveyForm;
Línea 40... Línea 33...
40
use LeadersLinked\Form\FastSurvey\FastSurveyForm;
33
use LeadersLinked\Library\Storage;
41
use LeadersLinked\Library\Storage;
34
use LeadersLinked\Library\Functions;
42
 
35
 
43
class FeedController extends AbstractActionController
36
class FeedController extends AbstractActionController
Línea 857... Línea 850...
857
                
850
                
Línea 858... Línea 851...
858
            }
851
            }
859
 
852
 
860
 
853
 
861
 
854
 
Línea 862... Línea 855...
862
            $dbSelect = new DbSelect($select, $this->adapter);
855
            $dbSelect = new \Laminas\Paginator\Adapter\DbSelect($select, $this->adapter);
863
            $paginator = new Paginator($dbSelect);
856
            $paginator = new \Laminas\Paginator\Paginator($dbSelect);
Línea 1080... Línea 1073...
1080
 
1073
 
1081
 
1074
 
1082
    /**
1075
    /**
1083
     *
1076
     *
1084
     * @param int $feed_id
1077
     * @param int $feed_id
1085
     * @param Company $company
1078
     * @param \LeadersLinked\Model\Company $company
1086
     * @return array
1079
     * @return array
1087
     */
1080
     */
Línea 1125... Línea 1118...
1125
        ];
1118
        ];
Línea 1126... Línea 1119...
1126
        
1119
        
1127
 
1120
 
Línea 1128... Línea 1121...
1128
        
1121
        
Línea 1309... Línea 1302...
1309
 
1302
 
1310
        $feedMapper = FeedMapper::getInstance($this->adapter);
1303
        $feedMapper = FeedMapper::getInstance($this->adapter);
Línea 1311... Línea 1304...
1311
        $feed = $feedMapper->fetchOne($record->feed_id);
1304
        $feed = $feedMapper->fetchOne($record->feed_id);
1312
 
1305
 
Línea 1313... Línea 1306...
1313
        if ($record) {
1306
        if ($record) {
1314
            $userMapper = UserMapper::getInstance($this->adapter);
1307
            $userMapper = \LeadersLinked\Mapper\UserMapper::getInstance($this->adapter);