ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\ContentPage\GlobalSettings\Settings Class Reference
+ Collaboration diagram for ILIAS\ContentPage\GlobalSettings\Settings:

Public Member Functions

 isReadingTimeEnabled ()
 
 withEnabledReadingTime ()
 
 withDisabledReadingTime ()
 

Protected Attributes

bool $readingTimeEnabled = false
 

Detailed Description

Definition at line 28 of file Settings.php.

Member Function Documentation

◆ isReadingTimeEnabled()

ILIAS\ContentPage\GlobalSettings\Settings::isReadingTimeEnabled ( )

Definition at line 32 of file Settings.php.

References ILIAS\ContentPage\GlobalSettings\Settings\$readingTimeEnabled.

Referenced by ILIAS\ContentPage\GlobalSettings\StorageImpl\store().

32  : bool
33  {
35  }
+ Here is the caller graph for this function:

◆ withDisabledReadingTime()

ILIAS\ContentPage\GlobalSettings\Settings::withDisabledReadingTime ( )

Definition at line 45 of file Settings.php.

45  : self
46  {
47  $clone = clone $this;
48  $clone->readingTimeEnabled = false;
49 
50  return $clone;
51  }

◆ withEnabledReadingTime()

ILIAS\ContentPage\GlobalSettings\Settings::withEnabledReadingTime ( )

Definition at line 37 of file Settings.php.

37  : self
38  {
39  $clone = clone $this;
40  $clone->readingTimeEnabled = true;
41 
42  return $clone;
43  }

Field Documentation

◆ $readingTimeEnabled

bool ILIAS\ContentPage\GlobalSettings\Settings::$readingTimeEnabled = false
protected

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