Línea 364... |
Línea 364... |
364 |
'user_id' => $user->uuid,
|
364 |
'user_id' => $user->uuid,
|
365 |
'user_uuid' => ($user->uuid),
|
365 |
'user_uuid' => ($user->uuid),
|
366 |
'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
366 |
'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
367 |
'user_profile_id' => $userProfile->id,
|
367 |
'user_profile_id' => $userProfile->id,
|
368 |
'user_profile_uuid' => $userProfile->uuid,
|
368 |
'user_profile_uuid' => $userProfile->uuid,
|
369 |
'image' => $this->url()->fromRoute('storage',['code' => $user->uuid, 'type' => 'user-profile', 'filename' => $user->image]),
|
369 |
'image' => $this->url()->fromRoute('storage',['code' => $user->uuid, 'type' => 'user-profile', 'filename' => $user->image],['force_canonical' => true]),
|
370 |
'cover' => $this->url()->fromRoute('storage',['code' => $user->uuid, 'type' => 'user-cover', 'filename' => $userProfile->cover]),
|
370 |
'cover' => $this->url()->fromRoute('storage',['code' => $user->uuid, 'type' => 'user-cover', 'filename' => $userProfile->cover],['force_canonical' => true]),
|
371 |
'overview' => $userProfile->description,
|
371 |
'overview' => $userProfile->description,
|
372 |
'facebook' => $userProfile->facebook,
|
372 |
'facebook' => $userProfile->facebook,
|
373 |
'instagram' => $userProfile->instagram,
|
373 |
'instagram' => $userProfile->instagram,
|
374 |
'twitter' => $userProfile->twitter,
|
374 |
'twitter' => $userProfile->twitter,
|
375 |
'formatted_address' => $formattedAddress,
|
375 |
'formatted_address' => $formattedAddress,
|
Línea 462... |
Línea 462... |
462 |
foreach($records as $record)
|
462 |
foreach($records as $record)
|
463 |
{
|
463 |
{
|
Línea 464... |
Línea 464... |
464 |
|
464 |
|
465 |
$item = [
|
465 |
$item = [
|
466 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
466 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
467 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
467 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
468 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
468 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
469 |
'link_inmail' => $this->url()->fromRoute('inmail', ['id' => $record['uuid'] ]),
|
469 |
'link_inmail' => $this->url()->fromRoute('inmail', ['id' => $record['uuid'] ]),
|
Línea 470... |
Línea 470... |
470 |
];
|
470 |
];
|