Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2729 Rev 3114
Línea 278... Línea 278...
278
            $following = $companyFollowerMapper->getCountFollowing($user->id);
278
            $following = $companyFollowerMapper->getCountFollowing($user->id);
Línea 279... Línea 279...
279
                
279
                
280
            $connectionMapper = ConnectionMapper::getInstance($this->adapter);
280
            $connectionMapper = ConnectionMapper::getInstance($this->adapter);
Línea 281... Línea 281...
281
            $total_connections = $connectionMapper->fetchTotalConnectionByUser($user->id);
281
            $total_connections = $connectionMapper->fetchTotalConnectionByUser($user->id);
282
    
282
    
283
            $request_connection = true;
283
            $request_connection = 1;
284
            if($connection) {
284
            if($connection) {
285
                if($connection->status == Connection::STATUS_SENT || $connection->status == Connection::STATUS_ACCEPTED) {
285
                if($connection->status == Connection::STATUS_SENT || $connection->status == Connection::STATUS_ACCEPTED) {
286
                    $request_connection = false;
286
                    $request_connection = 0;
Línea 287... Línea 287...
287
                }
287
                }
Línea 288... Línea 288...
288
            }
288
            }
289
            
289
            
Línea 290... Línea -...
290
            $common_connection = count($connectionMapper->fetchAllCommonConnectionsUserIdByUser1ReturnIds($currentUser->id, $userProfile->user_id));
-
 
291
            
290
            $common_connection = count($connectionMapper->fetchAllCommonConnectionsUserIdByUser1ReturnIds($currentUser->id, $userProfile->user_id));
292
            $profileVisitMapper = ProfileVisitMapper::getInstance($this->adapter);
291
            
293
            $views          = $profileVisitMapper->getTotalByVisitedId( $userProfile->user_id );
292
            $profileVisitMapper = ProfileVisitMapper::getInstance($this->adapter);
294
            
293
            $views          = $profileVisitMapper->getTotalByVisitedId( $userProfile->user_id );