ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilRSSButtonGUI.php
Go to the documentation of this file.
1
<?php
2
22
class
ilRSSButtonGUI
23
{
24
public
const
ICON_RSS
=
"rss"
;
25
public
const
ICON_RSS_AUDIO
=
"rss audio"
;
26
public
const
ICON_RSS_VIDEO
=
"rss video"
;
27
public
const
ICON_ICAL
=
"ical"
;
28
public
const
ICON_ITUNES
=
"itunes"
;
29
public
const
ICON_ITUNES_AUDIO
=
"itunes audio"
;
30
public
const
ICON_ITUNES_VIDEO
=
"itunes video"
;
31
39
public
static
function
get
(
40
string
$a_type,
41
string
$a_href =
""
42
):
string
{
43
$tpl
=
new
ilTemplate
(
"tpl.rss_icon.html"
,
true
,
true
,
"Services/News"
);
44
45
if
($a_href !==
""
) {
46
$tpl
->setCurrentBlock(
"a_start"
);
47
$tpl
->setVariable(
"HREF"
, $a_href);
48
$tpl
->parseCurrentBlock();
49
$tpl
->touchBlock(
"a_end"
);
50
}
51
52
$text =
""
;
53
54
switch
($a_type) {
55
case
self::ICON_RSS:
56
$text =
"RSS"
;
57
break
;
58
59
case
self::ICON_RSS_AUDIO:
60
$text =
"RSS Audio"
;
61
break
;
62
63
case
self::ICON_RSS_VIDEO:
64
$text =
"RSS Video"
;
65
break
;
66
67
case
self::ICON_ICAL:
68
$text =
"iCal"
;
69
break
;
70
71
case
self::ICON_ITUNES:
72
$text =
"iTunes"
;
73
break
;
74
75
case
self::ICON_ITUNES_AUDIO:
76
$text =
"iTunes Audio"
;
77
break
;
78
79
case
self::ICON_ITUNES_VIDEO:
80
$text =
"iTunes Video"
;
81
break
;
82
}
83
84
$tpl
->setVariable(
"TEXT"
, $text);
85
86
return
$tpl
->get();
87
}
88
}
ilTemplate
ilRSSButtonGUI\ICON_ITUNES_VIDEO
const ICON_ITUNES_VIDEO
Definition:
class.ilRSSButtonGUI.php:30
ilRSSButtonGUI\ICON_ITUNES
const ICON_ITUNES
Definition:
class.ilRSSButtonGUI.php:28
ilRSSButtonGUI\ICON_RSS_VIDEO
const ICON_RSS_VIDEO
Definition:
class.ilRSSButtonGUI.php:26
ilRSSButtonGUI\ICON_RSS_AUDIO
const ICON_RSS_AUDIO
Definition:
class.ilRSSButtonGUI.php:25
ilRSSButtonGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilRSSButtonGUI.php:22
ilRSSButtonGUI\ICON_ICAL
const ICON_ICAL
Definition:
class.ilRSSButtonGUI.php:27
ilRSSButtonGUI\ICON_ITUNES_AUDIO
const ICON_ITUNES_AUDIO
Definition:
class.ilRSSButtonGUI.php:29
$tpl
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition:
latex.php:41
ilRSSButtonGUI\ICON_RSS
const ICON_RSS
Definition:
class.ilRSSButtonGUI.php:24
Services
News
classes
class.ilRSSButtonGUI.php
Generated on Tue Apr 1 2025 22:02:29 for ILIAS by
1.8.13 (using
Doxyfile
)