ILIAS  release_7 Revision v7.30-3-g800a261c036
ILIAS\ContentPage\GlobalSettings\Settings Class Reference
+ Collaboration diagram for ILIAS\ContentPage\GlobalSettings\Settings:

Public Member Functions

 isReadingTimeEnabled ()
 
 withEnabledReadingTime ()
 
 withDisabledReadingTime ()
 

Protected Attributes

 $readingTimeEnabled = false
 

Detailed Description

Definition at line 11 of file Settings.php.

Member Function Documentation

◆ isReadingTimeEnabled()

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

Definition at line 19 of file Settings.php.

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

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

19  : bool
20  {
22  }
+ Here is the caller graph for this function:

◆ withDisabledReadingTime()

ILIAS\ContentPage\GlobalSettings\Settings::withDisabledReadingTime ( )
Returns
$this

Definition at line 38 of file Settings.php.

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

◆ withEnabledReadingTime()

ILIAS\ContentPage\GlobalSettings\Settings::withEnabledReadingTime ( )
Returns
$this

Definition at line 27 of file Settings.php.

27  : self
28  {
29  $clone = clone $this;
30  $clone->readingTimeEnabled = true;
31 
32  return $clone;
33  }

Field Documentation

◆ $readingTimeEnabled

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

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