Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1323 Rev 1610
Línea 672... Línea 672...
672
                                    'vibrate' => 1,
672
                                    'vibrate' => 1,
673
                                    'sound' =>  1,
673
                                    'sound' =>  1,
Línea 674... Línea 674...
674
                                    
674
                                    
-
 
675
                                    
675
                                    
676
                                ],
676
                                ],
677
                                'content_available' => true,
677
                                'data' => [
678
                                'data' => [
678
                                    'new_capsules' => $newCapsules,
679
                                    'new_capsules' => $newCapsules,
679
                                ]
680
                                ]
Línea 714... Línea 715...
714
                        'email'         => $user->email,
715
                        'email'         => $user->email,
715
                        'image'         => $this->url()->fromRoute('services/storage',['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image], ['force_canonical' => true]),
716
                        'image'         => $this->url()->fromRoute('services/storage',['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image], ['force_canonical' => true]),
716
                    ],
717
                    ],
717
                    'new_capsules'      => $newCapsules,
718
                    'new_capsules'      => $newCapsules,
718
                    'max_date_changes'  => $max_date_changes_db,
719
                    'max_date_changes'  => $max_date_changes_db,
-
 
720
                    
719
                    'topics'            => [],
721
                    'topics'            => [],
720
                    'quizzes'           => [],
722
                    'quizzes'           => [],
721
                    'extended'          => [],
723
                    'extended'          => [],
722
                ]
724
                ]
723
            ];
725
            ];
Línea 3357... Línea 3359...
3357
                        'name' => $capsule->name ? $capsule->name : '',
3359
                        'name' => $capsule->name ? $capsule->name : '',
3358
                        'description' => $capsule->description ? $capsule->description : '',
3360
                        'description' => $capsule->description ? $capsule->description : '',
3359
                        'image' => $capsule->image ? $this->url()->fromRoute('services/storage',['type' => 'microlearning-capsule', 'code' => $capsule->uuid, 'filename' => $capsule->image ], ['force_canonical' => true])  : '',
3361
                        'image' => $capsule->image ? $this->url()->fromRoute('services/storage',['type' => 'microlearning-capsule', 'code' => $capsule->uuid, 'filename' => $capsule->image ], ['force_canonical' => true])  : '',
3360
                        'position' => $capsule->order,
3362
                        'position' => $capsule->order,
3361
                        'slides' => $record_slides,
3363
                        'slides' => $record_slides,
3362
                        'link_comments' => $this->url()->fromRoute('services/microlearning/capsules/comments', ['capsule_id' => $capsule->uuid]),
3364
                        'link_comments' => $this->url()->fromRoute('services/microlearning/capsules/comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
3363
                        'link_comment_add' => $this->url()->fromRoute('services/microlearning/capsules/comments/add', ['capsule_id' => $capsule->uuid]),
3365
                        'link_comment_add' => $this->url()->fromRoute('services/microlearning/capsules/comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
3364
                        'total_comments' => $dataCountrAndRatingAverage['total_comments'],
3366
                        'total_comments' => $dataCountrAndRatingAverage['total_comments'],
3365
                        'total_rating' => $dataCountrAndRatingAverage['total_rating'],
3367
                        'total_rating' => $dataCountrAndRatingAverage['total_rating'],
3366
                        'added_on'  => $dtAddedOn->format($serviceDatetimeFormat),
3368
                        'added_on'  => $dtAddedOn->format($serviceDatetimeFormat),
3367
                        'updated_on'    => $dtUpdatedOn->format($serviceDatetimeFormat),
3369
                        'updated_on'    => $dtUpdatedOn->format($serviceDatetimeFormat),
3368
                    ]);
3370
                    ]);
Línea 3639... Línea 3641...
3639
            return $cnt; // return num. bytes delivered like readfile() does.
3641
            return $cnt; // return num. bytes delivered like readfile() does.
3640
        }
3642
        }
3641
        return $status;
3643
        return $status;
3642
    }
3644
    }
3643
}
3645
}
-
 
3646
 
-
 
3647