Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 626 Rev 707
Línea 1428... Línea 1428...
1428
        if ($request->isGet()) {
1428
        if ($request->isGet()) {
Línea 1429... Línea 1429...
1429
 
1429
 
1430
            $currentUserPlugin = $this->plugin('currentUserPlugin');
1430
            $currentUserPlugin = $this->plugin('currentUserPlugin');
Línea -... Línea 1431...
-
 
1431
            $currentUser = $currentUserPlugin->getUser();
-
 
1432
 
1431
            $currentUser = $currentUserPlugin->getUser();
1433
            $storage = Storage::getInstance($this->config, $this->adapter);
1432
 
1434
 
Línea 1433... Línea 1435...
1433
            $search = Functions::sanitizeFilterString($this->params()->fromQuery('search'));
1435
            $search = Functions::sanitizeFilterString($this->params()->fromQuery('search'));
Línea 1471... Línea 1473...
1471
                    }
1473
                    }
Línea 1472... Línea 1474...
1472
 
1474
 
1473
 
1475
 
1474
                    array_push($items, [
1476
                    array_push($items, [
-
 
1477
                        'uuid' => $record->uuid,
-
 
1478
                        'name' => trim($record->first_name . ' ' . $record->last_name),
-
 
1479
                        'image' => $storage->getUserImage($record),
-
 
1480
                        'profile' => $this->url()->fromRoute('profile/view', ['id' => $record->uuid]),
-
 
1481
                        'last_message' => '',
-
 
1482
                        'count_unread' => 0,
-
 
1483
                        'selected' => 0,
1475
                        'uuid' => $record->uuid,
1484
                        'last_message' => '',
-
 
1485
                        'messages_url' => $this->url()->fromRoute('inmail/messages',['uuid' => $record->uuid]),
1476
                        'contact' => trim($record->first_name . ' ' . $record->last_name) . ' (' . $record->email . ')',
1486
                        'save_url' => $this->url()->fromRoute('inmail/messages/send',['uuid' => $record->uuid]),
1477
                        'send_link' => $this->url()->fromRoute('inmail/message/send',[ 'id' => $record->uuid ], ['force_canonical' => true]),
1487
                        'delete_url' => $this->url()->fromRoute('inmail/messages/delete',['uuid' => $record->uuid])
Línea 1478... Línea 1488...
1478
                    ]);
1488
                    ]);