Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17248 Rev 17249
Línea 233... Línea 233...
233
                                'user_uuid' => $record['uuid']
233
                                'user_uuid' => $record['uuid']
234
                            ];
234
                            ];
Línea 235... Línea 235...
235
                            
235
                            
Línea 236... Línea -...
236
                            $actions = [];
-
 
237
                            
-
 
238
                            
236
                            $actions = [];
239
                            
237
                            
240
                            switch($record['access'])
238
                            switch($record['access'])
241
                            {
239
                            {
242
                                case MicrolearningTopicUser::ACCESS_UNLIMITED :
240
                                case MicrolearningTopicUser::ACCESS_UNLIMITED :
Línea 298... Línea 296...
298
                                'last_name' => $record['last_name'],
296
                                'last_name' => $record['last_name'],
299
                                'email' => $record['email'],
297
                                'email' => $record['email'],
300
                                'details' => $details,
298
                                'details' => $details,
301
                                'actions' => $actions
299
                                'actions' => $actions
302
                            ];
300
                            ];
303
                            
-
 
304
                            
301
 
305
                            array_push($items, $item);
302
                            array_push($items, $item);
306
                            
-
 
307
                            
-
 
308
                        }
303
                        }
Línea 309... Línea 304...
309
                        
304
                        
310
                        $data['items'] = $items;
305
                        $data['items'] = $items;
Línea 311... Línea -...
311
                        $data['total'] = $paginator->getTotalItemCount();
-
 
312
                        
306
                        $data['total'] = $paginator->getTotalItemCount();
313
                        
307
                        
314
                        return new JsonModel([
308
                        return new JsonModel([
315
                            'success' => true,
309
                            'success' => true,
316
                            'data' => $data
310
                            'data' => $data