ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Digest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26use ILIAS\UI\Component\Modal\Interruptive as InterruptiveModal;
27
28class Digest
29{
32
33 public function __construct(
36 ) {
37 $this->content_assembler = $content_assembler;
38 $this->manipulator_adapter = $manipulator_adapter;
39 }
40
44 public function getContent(
45 SetInterface $set,
46 ?RequestForFormInterface $request = null
47 ): \Generator {
48 yield from $this->content_assembler->get($set, $request);
49 }
50
51 public function updateMD(
52 SetInterface $set,
54 ): bool {
55 return $this->manipulator_adapter->update($set, $request);
56 }
57}
ContentAssembler $content_assembler
Definition: Digest.php:30
ManipulatorAdapter $manipulator_adapter
Definition: Digest.php:31
updateMD(SetInterface $set, RequestForFormInterface $request)
Definition: Digest.php:51
__construct(ContentAssembler $content_assembler, ManipulatorAdapter $manipulator_adapter)
Definition: Digest.php:33
getContent(SetInterface $set, ?RequestForFormInterface $request=null)
Definition: Digest.php:44
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes a standard form.
Definition: Standard.php:29
get(string $class_name)