ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.VideoItem.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\MediaCast\Video
;
20
24
class
VideoItem
25
{
26
protected
string
$id
=
""
;
27
protected
string
$title
=
""
;
28
protected
int
$time
= 0;
29
protected
string
$mime
=
""
;
30
protected
string
$resource
=
""
;
31
protected
string
$preview_pic
=
""
;
32
protected
string
$description
=
""
;
33
protected
string
$playing_time
=
""
;
34
protected
int
$duration
= 0;
35
36
public
function
__construct
(
37
string
$id,
38
string
$title,
39
int
$time,
40
string
$mime,
41
string
$resource,
42
string
$preview_pic,
43
string
$description =
""
,
44
string
$playing_time =
""
,
45
int
$duration = 0
46
) {
47
$this->
id
=
$id
;
48
$this->title =
$title
;
49
$this->time =
$time
;
50
$this->mime =
$mime
;
51
$this->resource =
$resource
;
52
$this->preview_pic =
$preview_pic
;
53
if
($this->preview_pic ==
""
) {
54
$this->preview_pic =
\ilUtil::getImagePath
(
"media/mcst_preview.svg"
);
55
}
56
$this->description =
$description
;
57
$this->playing_time =
$playing_time
;
58
$this->duration =
$duration
;
59
}
60
61
public
function
getId
(): string
62
{
63
return
$this->id
;
64
}
65
66
public
function
getTitle
(): string
67
{
68
return
$this->title
;
69
}
70
71
public
function
getDescription
(): string
72
{
73
return
$this->description
;
74
}
75
76
public
function
getTime
():
int
77
{
78
return
$this->time
;
79
}
80
81
public
function
getMime
(): string
82
{
83
return
$this->mime
;
84
}
85
86
public
function
getResource
(): string
87
{
88
return
$this->resource
;
89
}
90
91
public
function
getPreviewPic
(): string
92
{
93
return
$this->preview_pic
;
94
}
95
96
public
function
getPlayingTime
(): string
97
{
98
return
$this->playing_time
;
99
}
100
101
public
function
getDuration
():
int
102
{
103
return
$this->duration
;
104
}
105
}
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getPlayingTime
getPlayingTime()
Definition:
class.VideoItem.php:96
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$time
int $time
Definition:
class.VideoItem.php:28
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getMime
getMime()
Definition:
class.VideoItem.php:81
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getDuration
getDuration()
Definition:
class.VideoItem.php:101
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getDescription
getDescription()
Definition:
class.VideoItem.php:71
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getTime
getTime()
Definition:
class.VideoItem.php:76
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$duration
int $duration
Definition:
class.VideoItem.php:34
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\__construct
__construct(string $id, string $title, int $time, string $mime, string $resource, string $preview_pic, string $description="", string $playing_time="", int $duration=0)
Definition:
class.VideoItem.php:36
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem
Definition:
class.VideoItem.php:24
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$description
string $description
Definition:
class.VideoItem.php:32
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getTitle
getTitle()
Definition:
class.VideoItem.php:66
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$playing_time
string $playing_time
Definition:
class.VideoItem.php:33
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$id
string $id
Definition:
class.VideoItem.php:26
ilUtil\getImagePath
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
Definition:
class.ilUtil.php:66
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$mime
string $mime
Definition:
class.VideoItem.php:29
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getResource
getResource()
Definition:
class.VideoItem.php:86
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$resource
string $resource
Definition:
class.VideoItem.php:30
ILIAS\MediaCast\Video
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.VideoItem.php:19
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$title
string $title
Definition:
class.VideoItem.php:27
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getPreviewPic
getPreviewPic()
Definition:
class.VideoItem.php:91
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\$preview_pic
string $preview_pic
Definition:
class.VideoItem.php:31
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\Extract\Video\VideoItem\getId
getId()
Definition:
class.VideoItem.php:61
components
ILIAS
MediaCast
Video
class.VideoItem.php
Generated on Thu Apr 3 2025 23:03:17 for ILIAS by
1.8.13 (using
Doxyfile
)