ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Settings.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\ContentPage\GlobalSettings
;
5
11
class
Settings
12
{
14
protected
$readingTimeEnabled
=
false
;
15
19
public
function
isReadingTimeEnabled
() : bool
20
{
21
return
$this->readingTimeEnabled
;
22
}
23
27
public
function
withEnabledReadingTime
() : self
28
{
29
$clone = clone $this;
30
$clone->readingTimeEnabled =
true
;
31
32
return
$clone;
33
}
34
38
public
function
withDisabledReadingTime
() : self
39
{
40
$clone = clone $this;
41
$clone->readingTimeEnabled =
false
;
42
43
return
$clone;
44
}
45
}
ILIAS\ContentPage\GlobalSettings\Settings\$readingTimeEnabled
$readingTimeEnabled
Definition:
Settings.php:14
ILIAS\ContentPage\GlobalSettings\Settings\withDisabledReadingTime
withDisabledReadingTime()
Definition:
Settings.php:38
ILIAS\ContentPage\GlobalSettings\Settings\withEnabledReadingTime
withEnabledReadingTime()
Definition:
Settings.php:27
ILIAS\ContentPage\GlobalSettings\Settings\isReadingTimeEnabled
isReadingTimeEnabled()
Definition:
Settings.php:19
ILIAS\ContentPage\GlobalSettings\Settings
Definition:
Settings.php:11
ILIAS\ContentPage\GlobalSettings
Definition:
Settings.php:4
Modules
ContentPage
classes
GlobalSettings
Settings.php
Generated on Sat Apr 19 2025 21:00:55 for ILIAS by
1.8.13 (using
Doxyfile
)