| Línea 513... |
Línea 513... |
| 513 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
513 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['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]),
|
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 |
'added_on' => $userProgress->added_on,
|
519 |
'added_on' => $userProgress->added_on,
|
| 519 |
'updated_on' => $userProgress->updated_on
|
520 |
'updated_on' => $userProgress->updated_on
|
| 520 |
]
|
521 |
]
|
| 521 |
];
|
522 |
];
|
| Línea 599... |
Línea 600... |
| 599 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
600 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 600 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
601 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 601 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, '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]),
|
| 602 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
603 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 603 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
604 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| - |
|
605 |
'progress' => $userProgress->progress,
|
| 604 |
'added_on' => $capsule->added_on,
|
606 |
'added_on' => $capsule->added_on,
|
| 605 |
'updated_on' => $capsule->updated_on,
|
607 |
'updated_on' => $capsule->updated_on,
|
| 606 |
]);
|
608 |
]);
|
| 607 |
}
|
609 |
}
|
| Línea 696... |
Línea 698... |
| 696 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
698 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 697 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
699 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 698 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, '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]),
|
| 699 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
701 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 700 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
702 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| - |
|
703 |
'progress' => $userProgress->progress,
|
| 701 |
'added_on' => $capsule->added_on,
|
704 |
'added_on' => $capsule->added_on,
|
| 702 |
'updated_on' => $capsule->updated_on,
|
705 |
'updated_on' => $capsule->updated_on,
|
| 703 |
]);
|
706 |
]);
|
| 704 |
}
|
707 |
}
|
| Línea 792... |
Línea 795... |
| 792 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
795 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
| 793 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
796 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
| 794 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, '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]),
|
| 795 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
798 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
| 796 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
799 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
| - |
|
800 |
'progress' => $userProgress->progress,
|
| 797 |
'added_on' => $capsule->added_on,
|
801 |
'added_on' => $capsule->added_on,
|
| 798 |
'updated_on' => $capsule->updated_on,
|
802 |
'updated_on' => $capsule->updated_on,
|
| 799 |
]);
|
803 |
]);
|
| 800 |
}
|
804 |
}
|