ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Feed writer class. More...
Public Member Functions | |
__construct () | |
ilFeedWriter constructor. More... | |
setEncoding ($a_enc) | |
Set feed encoding. More... | |
getEncoding () | |
setChannelAbout ($a_ab) | |
Unique URI that defines the channel. More... | |
getChannelAbout () | |
setChannelTitle ($a_title) | |
Channel Title. More... | |
getChannelTitle () | |
setChannelLink ($a_link) | |
Channel Link URL to which an HTML rendering of the channel title will link. More... | |
getChannelLink () | |
setChannelDescription ($a_desc) | |
Channel Description. More... | |
getChannelDescription () | |
addItem ($a_item) | |
Add Item Item is an object of type ilFeedItem. More... | |
getItems () | |
prepareStr ($a_str) | |
getFeed () | |
get feed xml More... | |
showFeed () | |
getContextPath ($a_ref_id) | |
Data Fields | |
$encoding = "UTF-8" | |
$ch_about = "" | |
$ch_title = "" | |
$ch_link = "" | |
$ch_description = "" | |
$items = array() | |
Protected Attributes | |
$tree | |
$lng | |
Feed writer class.
how to make it "secure" alternative 1:
Definition at line 25 of file class.ilFeedWriter.php.
ilFeedWriter::__construct | ( | ) |
ilFeedWriter::addItem | ( | $a_item | ) |
Add Item Item is an object of type ilFeedItem.
Definition at line 125 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::getChannelAbout | ( | ) |
Definition at line 76 of file class.ilFeedWriter.php.
References $ch_about.
Referenced by getFeed().
ilFeedWriter::getChannelDescription | ( | ) |
Definition at line 116 of file class.ilFeedWriter.php.
Referenced by getFeed().
ilFeedWriter::getChannelLink | ( | ) |
Definition at line 103 of file class.ilFeedWriter.php.
References $ch_link.
Referenced by getFeed().
ilFeedWriter::getChannelTitle | ( | ) |
Definition at line 89 of file class.ilFeedWriter.php.
References $ch_title.
Referenced by getFeed().
ilFeedWriter::getContextPath | ( | $a_ref_id | ) |
Definition at line 207 of file class.ilFeedWriter.php.
References $items, $key, $lng, $path, $row, and $tree.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::getEncoding | ( | ) |
Definition at line 63 of file class.ilFeedWriter.php.
References $encoding.
Referenced by getFeed().
ilFeedWriter::getFeed | ( | ) |
get feed xml
Definition at line 146 of file class.ilFeedWriter.php.
References $d, $h, $m, $s, getChannelAbout(), getChannelDescription(), getChannelLink(), getChannelTitle(), and getEncoding().
Referenced by showFeed().
ilFeedWriter::getItems | ( | ) |
Definition at line 130 of file class.ilFeedWriter.php.
References $items.
ilFeedWriter::prepareStr | ( | $a_str | ) |
Definition at line 135 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::setChannelAbout | ( | $a_ab | ) |
Unique URI that defines the channel.
Definition at line 71 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::setChannelDescription | ( | $a_desc | ) |
Channel Description.
Definition at line 111 of file class.ilFeedWriter.php.
ilFeedWriter::setChannelLink | ( | $a_link | ) |
Channel Link URL to which an HTML rendering of the channel title will link.
Definition at line 98 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::setChannelTitle | ( | $a_title | ) |
Channel Title.
Definition at line 84 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
ilFeedWriter::setEncoding | ( | $a_enc | ) |
ilFeedWriter::showFeed | ( | ) |
Definition at line 201 of file class.ilFeedWriter.php.
References getFeed().
ilFeedWriter::$ch_about = "" |
Definition at line 38 of file class.ilFeedWriter.php.
Referenced by getChannelAbout().
ilFeedWriter::$ch_description = "" |
Definition at line 41 of file class.ilFeedWriter.php.
ilFeedWriter::$ch_link = "" |
Definition at line 40 of file class.ilFeedWriter.php.
Referenced by getChannelLink().
ilFeedWriter::$ch_title = "" |
Definition at line 39 of file class.ilFeedWriter.php.
Referenced by getChannelTitle().
ilFeedWriter::$encoding = "UTF-8" |
Definition at line 37 of file class.ilFeedWriter.php.
Referenced by getEncoding().
ilFeedWriter::$items = array() |
Definition at line 42 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), getContextPath(), and getItems().
|
protected |
Definition at line 35 of file class.ilFeedWriter.php.
Referenced by getContextPath().
|
protected |
Definition at line 30 of file class.ilFeedWriter.php.
Referenced by getContextPath().