ILIAS  release_8 Revision v8.24
LSGlobalSettings Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for LSGlobalSettings:

Public Member Functions

 __construct (float $polling_interval_seconds)
 
 getPollingIntervalSeconds ()
 
 getPollingIntervalMilliseconds ()
 
 withPollingIntervalSeconds (float $seconds)
 

Protected Attributes

float $polling_interval_seconds
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Global Settings of the Learning Sequence

Definition at line 24 of file LSGlobalSettings.php.

Constructor & Destructor Documentation

◆ __construct()

LSGlobalSettings::__construct ( float  $polling_interval_seconds)

Definition at line 28 of file LSGlobalSettings.php.

29 {
30 $this->polling_interval_seconds = $polling_interval_seconds;
31 }

References $polling_interval_seconds.

Member Function Documentation

◆ getPollingIntervalMilliseconds()

LSGlobalSettings::getPollingIntervalMilliseconds ( )

Definition at line 38 of file LSGlobalSettings.php.

38 : int
39 {
40 $interval = $this->getPollingIntervalSeconds() * 1000;
41 return (int) $interval;
42 }

References getPollingIntervalSeconds().

+ Here is the call graph for this function:

◆ getPollingIntervalSeconds()

LSGlobalSettings::getPollingIntervalSeconds ( )

Definition at line 33 of file LSGlobalSettings.php.

33 : float
34 {
36 }

References $polling_interval_seconds.

Referenced by getPollingIntervalMilliseconds().

+ Here is the caller graph for this function:

◆ withPollingIntervalSeconds()

LSGlobalSettings::withPollingIntervalSeconds ( float  $seconds)

Definition at line 44 of file LSGlobalSettings.php.

45 {
46 $clone = clone $this;
47 $clone->polling_interval_seconds = $seconds;
48 return $clone;
49 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $polling_interval_seconds

float LSGlobalSettings::$polling_interval_seconds
protected

Definition at line 26 of file LSGlobalSettings.php.

Referenced by __construct(), and getPollingIntervalSeconds().


The documentation for this class was generated from the following file: