19 declare(strict_types=1);
39 $sign_file = [ilWACSignedPath::class,
'signFile']
41 $this->sign_file = Closure::fromCallable($sign_file);
51 $modal_content[] = $this->container->ui()->factory()->image()->responsive(
52 ($this->sign_file)($content->
badge()->getImagePath()),
53 $content->
badge()->getImage()
55 $modal_content[] = $this->container->ui()->factory()->divider()->horizontal();
56 $modal_content[] = $this->
item($content);
58 return $modal_content;
63 return $this->container
67 ->standard($content->
badge()->getTitle())
68 ->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...
Customizing of pimple-DIC for ILIAS.
__construct(private readonly Container $container, $sign_file=[ilWACSignedPath::class, 'signFile'])
components(ModalContent $content)
item(ModalContent $content)