ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 12 of file Settings.php.

Member Function Documentation

◆ isReadingTimeEnabled()

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

Definition at line 16 of file Settings.php.

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

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

16  : bool
17  {
19  }
+ Here is the caller graph for this function:

◆ withDisabledReadingTime()

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

Definition at line 29 of file Settings.php.

29  : self
30  {
31  $clone = clone $this;
32  $clone->readingTimeEnabled = false;
33 
34  return $clone;
35  }

◆ withEnabledReadingTime()

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

Definition at line 21 of file Settings.php.

21  : self
22  {
23  $clone = clone $this;
24  $clone->readingTimeEnabled = true;
25 
26  return $clone;
27  }

Field Documentation

◆ $readingTimeEnabled

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

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