◆ __construct()
| ILIAS\Survey\Mode\ModeFactory::__construct |
( |
| ) |
|
Definition at line 36 of file class.ModeFactory.php.
37 {
38 $this->providers = [
39 new Standard\ModeProvider(),
40 new Feedback360\ModeProvider(),
41 new SelfEvaluation\ModeProvider(),
42 new IndividualFeedback\ModeProvider()
43 ];
44 }
◆ getModeById()
| ILIAS\Survey\Mode\ModeFactory::getModeById |
( |
int |
$id | ) |
|
Definition at line 51 of file class.ModeFactory.php.
51 : ModeProvider
52 {
55 $provider->setInternalService($this->service);
57 }
58 }
59 throw new ModeException(
"Unknown mode: " .
$id);
60 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
References $id, and $provider.
◆ setInternalService()
| ILIAS\Survey\Mode\ModeFactory::setInternalService |
( |
InternalService |
$service | ) |
|
◆ $providers
| array ILIAS\Survey\Mode\ModeFactory::$providers |
|
protected |
◆ $service
The documentation for this class was generated from the following file: