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
PageMetrics.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\PageMetrics\Entity
;
5
6
use
ILIAS\ContentPage\PageMetrics\ValueObject\PageReadingTime
;
7
12
final
class
PageMetrics
13
{
15
private
$contentPageId
;
17
private
$pageId
;
19
private
$language
;
21
private
$readingTime
;
22
30
public
function
__construct
(
int
$contentPageId
,
int
$pageId
,
string
$language
,
PageReadingTime
$readingTime
)
31
{
32
$this->
contentPageId
=
$contentPageId
;
33
$this->
pageId
=
$pageId
;
34
$this->
language
=
$language
;
35
$this->
readingTime
=
$readingTime
;
36
}
37
41
public
function
contentPageId
() : int
42
{
43
return
$this->contentPageId
;
44
}
45
49
public
function
pageId
() : int
50
{
51
return
$this->pageId
;
52
}
53
57
public
function
language
() : string
58
{
59
return
$this->language
;
60
}
61
65
public
function
readingTime
() :
PageReadingTime
66
{
67
return
$this->readingTime
;
68
}
69
}
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\language
language()
Definition:
PageMetrics.php:57
ILIAS\ContentPage\PageMetrics\ValueObject\PageReadingTime
Definition:
PageReadingTime.php:13
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\__construct
__construct(int $contentPageId, int $pageId, string $language, PageReadingTime $readingTime)
PageMetrics constructor.
Definition:
PageMetrics.php:30
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\$readingTime
$readingTime
Definition:
PageMetrics.php:21
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\contentPageId
contentPageId()
Definition:
PageMetrics.php:41
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\$pageId
$pageId
Definition:
PageMetrics.php:17
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\pageId
pageId()
Definition:
PageMetrics.php:49
ILIAS\ContentPage\PageMetrics\Entity
Definition:
PageMetrics.php:4
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\readingTime
readingTime()
Definition:
PageMetrics.php:65
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\$contentPageId
$contentPageId
Definition:
PageMetrics.php:15
PageReadingTime
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics
Definition:
PageMetrics.php:12
ILIAS\ContentPage\PageMetrics\Entity\PageMetrics\$language
$language
Definition:
PageMetrics.php:19
Modules
ContentPage
classes
PageMetrics
Entity
PageMetrics.php
Generated on Sat Apr 5 2025 21:00:56 for ILIAS by
1.8.13 (using
Doxyfile
)