| Línea 514... |
Línea 514... |
| 514 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
514 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 515 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
515 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 516 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
516 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| 517 |
'completed' => $userProgress->completed,
|
517 |
'completed' => $userProgress->completed,
|
| 518 |
'progress' => $userProgress->progress,
|
518 |
'progress' => $userProgress->progress,
|
| - |
|
519 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
| 519 |
'added_on' => $userProgress->added_on,
|
520 |
'added_on' => $userProgress->added_on,
|
| 520 |
'updated_on' => $userProgress->updated_on
|
521 |
'updated_on' => $userProgress->updated_on
|
| 521 |
]
|
522 |
]
|
| 522 |
];
|
523 |
];
|
| Línea 601... |
Línea 602... |
| 601 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
602 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 602 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
603 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 603 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
604 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 604 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
605 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| 605 |
'progress' => $userProgress->progress,
|
606 |
'progress' => $userProgress->progress,
|
| - |
|
607 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
| 606 |
'added_on' => $capsule->added_on,
|
608 |
'added_on' => $capsule->added_on,
|
| 607 |
'updated_on' => $capsule->updated_on,
|
609 |
'updated_on' => $capsule->updated_on,
|
| 608 |
]);
|
610 |
]);
|
| 609 |
}
|
611 |
}
|
| Línea 699... |
Línea 701... |
| 699 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
701 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 700 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
702 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 701 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
703 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 702 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
704 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| 703 |
'progress' => $userProgress->progress,
|
705 |
'progress' => $userProgress->progress,
|
| - |
|
706 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
| 704 |
'added_on' => $capsule->added_on,
|
707 |
'added_on' => $capsule->added_on,
|
| 705 |
'updated_on' => $capsule->updated_on,
|
708 |
'updated_on' => $capsule->updated_on,
|
| 706 |
]);
|
709 |
]);
|
| 707 |
}
|
710 |
}
|
| Línea 796... |
Línea 799... |
| 796 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
799 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 797 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
800 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 798 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
801 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 799 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
802 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| 800 |
'progress' => $userProgress->progress,
|
803 |
'progress' => $userProgress->progress,
|
| - |
|
804 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
| 801 |
'added_on' => $capsule->added_on,
|
805 |
'added_on' => $capsule->added_on,
|
| 802 |
'updated_on' => $capsule->updated_on,
|
806 |
'updated_on' => $capsule->updated_on,
|
| 803 |
]);
|
807 |
]);
|
| 804 |
}
|
808 |
}
|