19 declare(strict_types=1);
36 $sign_file = [ilWACSignedPath::class,
'signFile']
38 $this->sign_file = Closure::fromCallable($sign_file);
40 $container->resourceStorage(),
42 $container->ui()->mainTemplate()
55 $modal_content[] = $this->container->ui()->factory()->image()->responsive(
57 $content->
badge()->getTitle()
59 $modal_content[] = $this->container->ui()->factory()->divider()->horizontal();
60 $modal_content[] = $this->
item($content);
62 return $modal_content;
67 return $this->container
71 ->standard($content->
badge()->getTitle())
72 ->withDescription($content->
badge()->getDescription())
readonly Closure $sign_file
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBadgeImage $badge_image_service
__construct(private readonly Container $container, $sign_file=[ilWACSignedPath::class, 'signFile'])
components(ModalContent $content)
item(ModalContent $content)