Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6038 Rev 6039
Línea 1448... Línea 1448...
1448
 
1448
 
1449
        $userMapper = UserMapper::getInstance($this->adapter);
1449
        $userMapper = UserMapper::getInstance($this->adapter);
1450
        $feedMapper = FeedMapper::getInstance($this->adapter);
1450
        $feedMapper = FeedMapper::getInstance($this->adapter);
Línea -... Línea 1451...
-
 
1451
        $feed = $feedMapper->fetchOneAnyStatus($feed_id);
-
 
1452
 
-
 
1453
        $currentNetworkPlugin = $this->plugin('currentNetworkPlugin');
-
 
1454
        $network = $currentNetworkPlugin->getNetwork();
-
 
1455
 
-
 
1456
 
-
 
1457
        $currentCompany = $currentUserPlugin->getCompany();
-
 
1458
 
-
 
1459
        $companyMapper = CompanyMapper::getInstance($this->adapter);
-
 
1460
        $company = $companyMapper->fetchOne($currentCompany->id);
-
 
1461
 
-
 
1462
 
-
 
1463
        $companyUserMapper = CompanyUserMapper::getInstance($this->adapter);
Línea 1451... Línea 1464...
1451
        $feed = $feedMapper->fetchOneAnyStatus($feed_id);
1464
        $owner = $companyUserMapper->fetchOwnerByCompanyId($currentCompany->id);
1452
 
1465
 
Línea 1692... Línea 1705...
1692
            array_push($comments, [
1705
            array_push($comments, [
1693
                'unique' => uniqid(),
1706
                'unique' => uniqid(),
1694
                'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1707
                'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1695
                'user_name' => $user->first_name . ' ' . $user->last_name,
1708
                'user_name' => $user->first_name . ' ' . $user->last_name,
1696
                /* Aqui es Anderson */
1709
                /* Aqui es Anderson */
1697
                'user_image' => $this->url()->fromRoute('storage', ['type' => 'user',  'code' => $user->uuid, 'filename' =>  $user->image]),
1710
                'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>  $company->image]),
1698
                'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1711
                'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1699
                'comment' => $record->comment,
1712
                'comment' => $record->comment,
1700
                'link_delete' => $link_delete
1713
                'link_delete' => $link_delete
1701
            ]);
1714
            ]);
1702
        }
1715
        }