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
class.ilRSSButtonGUI.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilRSSButtonGUI
13
{
14
const
ICON_RSS
=
"rss"
;
15
const
ICON_RSS_AUDIO
=
"rss audio"
;
16
const
ICON_RSS_VIDEO
=
"rss video"
;
17
const
ICON_ICAL
=
"ical"
;
18
const
ICON_ITUNES
=
"itunes"
;
19
const
ICON_ITUNES_AUDIO
=
"itunes audio"
;
20
const
ICON_ITUNES_VIDEO
=
"itunes video"
;
21
29
public
static
function
get
($a_type, $a_href =
""
)
30
{
31
$tpl
=
new
ilTemplate
(
"tpl.rss_icon.html"
,
true
,
true
,
"Services/News"
);
32
33
if
($a_href !=
""
) {
34
$tpl
->setCurrentBlock(
"a_start"
);
35
$tpl
->setVariable(
"HREF"
, $a_href);
36
$tpl
->parseCurrentBlock();
37
$tpl
->touchBlock(
"a_end"
);
38
}
39
40
$text =
""
;
41
42
switch
($a_type) {
43
case
self::ICON_RSS:
44
$text =
"RSS"
;
45
break
;
46
47
case
self::ICON_RSS_AUDIO:
48
$text =
"RSS Audio"
;
49
break
;
50
51
case
self::ICON_RSS_VIDEO:
52
$text =
"RSS Video"
;
53
break
;
54
55
case
self::ICON_ICAL:
56
$text =
"iCal"
;
57
break
;
58
59
case
self::ICON_ITUNES:
60
$text =
"iTunes"
;
61
break
;
62
63
case
self::ICON_ITUNES_AUDIO:
64
$text =
"iTunes Audio"
;
65
break
;
66
67
case
self::ICON_ITUNES_VIDEO:
68
$text =
"iTunes Video"
;
69
break
;
70
}
71
72
$tpl
->setVariable(
"TEXT"
, $text);
73
74
return
$tpl
->get();
75
}
76
}
ilTemplate
ilRSSButtonGUI\ICON_ITUNES_VIDEO
const ICON_ITUNES_VIDEO
Definition:
class.ilRSSButtonGUI.php:20
ilRSSButtonGUI\ICON_ITUNES
const ICON_ITUNES
Definition:
class.ilRSSButtonGUI.php:18
ilRSSButtonGUI\ICON_RSS_VIDEO
const ICON_RSS_VIDEO
Definition:
class.ilRSSButtonGUI.php:16
ilRSSButtonGUI\ICON_RSS_AUDIO
const ICON_RSS_AUDIO
Definition:
class.ilRSSButtonGUI.php:15
ilRSSButtonGUI
Definition:
class.ilRSSButtonGUI.php:12
ilRSSButtonGUI\ICON_ICAL
const ICON_ICAL
Definition:
class.ilRSSButtonGUI.php:17
ilRSSButtonGUI\ICON_ITUNES_AUDIO
const ICON_ITUNES_AUDIO
Definition:
class.ilRSSButtonGUI.php:19
$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:14
Services
News
classes
class.ilRSSButtonGUI.php
Generated on Wed Apr 16 2025 21:01:21 for ILIAS by
1.8.13 (using
Doxyfile
)