Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 643 Rev 644
Línea 1608... Línea 1608...
1608
            }
1608
            }
Línea 1609... Línea 1609...
1609
            
1609
            
Línea 1610... Línea 1610...
1610
            $path = $storage->getPathMicrolearningCapsule();
1610
            $path = $storage->getPathMicrolearningCapsule();
1611
            
-
 
Línea 1612... Línea 1611...
1612
            $slides = $this->_getSlidesByCapsule($capsule, $storage);
1611
            
1613
            $image = $capsule->image ? $storage->getGenericImage($path, $capsule->uuid, $capsule->image) : '';
1612
            $slides = $this->_getSlidesByCapsule($capsule, $storage);
1614
            
1613
            
1615
            $data = [
1614
            $data = [
1616
                'uuid'              => $capsule->uuid,
1615
                'uuid'              => $capsule->uuid,
1617
                'name'              => $capsule->name ?? '',
1616
                'name'              => $capsule->name ?? '',
1618
                'description'       => $capsule->description ?? '',
1617
                'description'       => $capsule->description ?? '',
1619
                'image'             => $image ?? '',
1618
                'image'             => '',
1620
                'link_comment_add'  => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
1619
                'link_comment_add'  => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
1621
                'total_comments'    => strval($dataCountAndRatingAverage['total_comments']),
1620
                'total_comments'    => strval($dataCountAndRatingAverage['total_comments']),