ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
feed.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
10
include_once
"Services/Context/classes/class.ilContext.php"
;
11
ilContext::init
(
ilContext::CONTEXT_RSS
);
12
13
require_once(
"Services/Init/classes/class.ilInitialisation.php"
);
14
ilInitialisation::initILIAS
();
15
16
if
(
$_GET
[
"user_id"
] !=
""
) {
17
$writer =
new
ilUserFeedWriter
(
$_GET
[
"user_id"
],
$_GET
[
"hash"
]);
18
$writer->showFeed();
19
} elseif (
$_GET
[
"ref_id"
] !=
""
) {
20
$writer =
new
ilObjectFeedWriter
(
$_GET
[
"ref_id"
],
false
,
$_GET
[
"purpose"
]);
21
$writer->showFeed();
22
} elseif (
$_GET
[
"blog_id"
] !=
""
) {
23
ilObjBlog::deliverRSS
(
$_GET
[
"blog_id"
]);
24
}
ilContext\CONTEXT_RSS
const CONTEXT_RSS
Definition:
class.ilContext.php:21
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilObjBlog\deliverRSS
static deliverRSS($a_wsp_id)
Deliver blog as rss feed.
Definition:
class.ilObjBlog.php:705
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1041
ilObjectFeedWriter
Feed writer for objects.
Definition:
class.ilObjectFeedWriter.php:19
ilContext\init
static init($a_type)
Init context by type.
Definition:
class.ilContext.php:45
ilUserFeedWriter
Feed writer for personal user feeds.
Definition:
class.ilUserFeedWriter.php:19
feed.php
Generated on Wed Sep 3 2025 20:00:52 for ILIAS by
1.8.13 (using
Doxyfile
)