Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5205 Rev 5751
Línea 187... Línea 187...
187
                
187
                
188
                $userProfileMapper = UserProfileMapper::getInstance($this->adapter);
188
                $userProfileMapper = UserProfileMapper::getInstance($this->adapter);
Línea 189... Línea 189...
189
                $userProfile = $userProfileMapper->fetchOnePublicByUserId($currentUser->id);
189
                $userProfile = $userProfileMapper->fetchOnePublicByUserId($currentUser->id);
Línea 190... Línea 190...
190
  
190
  
191
                
191
                
Línea 192... Línea 192...
192
                $image_size = $this->config['leaderslinked.image_sizes.feed_image_upload'];
192
                $imageSize = $this->config['leaderslinked.image_sizes.feed_image_upload'];
193
                
193
                
194
                $formFeed = new CreateForm();
194
                $formFeed = new CreateForm();
195
                $formShare = new ShareForm();
195
                $formShare = new ShareForm();
196
                
196
                
Línea 214... Línea 214...
214
                    'description' => empty($userProfile->description) ? '' :  trim($userProfile->description) ,
214
                    'description' => empty($userProfile->description) ? '' :  trim($userProfile->description) ,
215
                    'country' => $country,
215
                    'country' => $country,
216
                    'visits' => $visits,
216
                    'visits' => $visits,
217
                    'connections' => $connections,
217
                    'connections' => $connections,
218
                    'feed' => '',
218
                    'feed' => '',
219
                    'link_timeline' => $link_timeline,
219
                    'routeTimeline' => $routeTimeline,
220
                    'formFeed' => $formFeed,
220
                    'formFeed' => $formFeed,
221
                    'formShare' => $formShare,
221
                    'formShare' => $formShare,
222
                    'image_size' => $image_size,
222
                    'imageSize' => $imageSize,
223
                ]);
223
                ]);
224
                $viewModel->setTemplate('leaders-linked/dashboard/index.phtml');
224
                $viewModel->setTemplate('leaders-linked/dashboard/index.phtml');
225
                return $viewModel ;
225
                return $viewModel ;
226
            }
226
            }
227
        }
227
        }