ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
LSGlobalSettings.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
27
29 {
30 $this->polling_interval_seconds = $polling_interval_seconds;
31 }
32
33 public function getPollingIntervalSeconds(): float
34 {
36 }
37
39 {
40 $interval = $this->getPollingIntervalSeconds() * 1000;
41 return (int) $interval;
42 }
43
44 public function withPollingIntervalSeconds(float $seconds): LSGlobalSettings
45 {
46 $clone = clone $this;
47 $clone->polling_interval_seconds = $seconds;
48 return $clone;
49 }
50}
Global Settings of the Learning Sequence.
__construct(float $polling_interval_seconds)
withPollingIntervalSeconds(float $seconds)