ILIAS
Release_4_1_x_branch Revision 61804
|
Feed writer class. More...
Public Member Functions | |
ilFeedWriter () | |
setEncoding ($a_enc) | |
Set feed encoding. | |
getEncoding () | |
setChannelAbout ($a_ab) | |
Unique URI that defines the channel. | |
getChannelAbout () | |
setChannelTitle ($a_title) | |
Channel Title. | |
getChannelTitle () | |
setChannelLink ($a_link) | |
Channel Link URL to which an HTML rendering of the channel title will link. | |
getChannelLink () | |
setChannelDescription ($a_desc) | |
Channel Description. | |
getChannelDescription () | |
addItem ($a_item) | |
Add Item Item is an object of type ilFeedItem. | |
getItems () | |
prepareStr ($a_str) | |
getFeed () | |
get feed xml | |
showFeed () |
Data Fields | |
$encoding = "UTF-8" | |
$ch_about = "" | |
$ch_title = "" | |
$ch_link = "" | |
$ch_description = "" | |
$items = array() |
Feed writer class.
how to make it "secure" alternative 1:
Definition at line 44 of file class.ilFeedWriter.php.
ilFeedWriter::addItem | ( | $a_item | ) |
Add Item Item is an object of type ilFeedItem.
Definition at line 127 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::getChannelAbout | ( | ) |
Definition at line 78 of file class.ilFeedWriter.php.
References $ch_about.
Referenced by getFeed().
ilFeedWriter::getChannelDescription | ( | ) |
Definition at line 118 of file class.ilFeedWriter.php.
Referenced by getFeed().
ilFeedWriter::getChannelLink | ( | ) |
Definition at line 105 of file class.ilFeedWriter.php.
References $ch_link.
Referenced by getFeed().
ilFeedWriter::getChannelTitle | ( | ) |
Definition at line 91 of file class.ilFeedWriter.php.
References $ch_title.
Referenced by getFeed().
ilFeedWriter::getEncoding | ( | ) |
Definition at line 65 of file class.ilFeedWriter.php.
References $encoding.
Referenced by getFeed().
ilFeedWriter::getFeed | ( | ) |
get feed xml
Definition at line 148 of file class.ilFeedWriter.php.
References $d, getChannelAbout(), getChannelDescription(), getChannelLink(), getChannelTitle(), and getEncoding().
Referenced by showFeed().
ilFeedWriter::getItems | ( | ) |
ilFeedWriter::ilFeedWriter | ( | ) |
Definition at line 53 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::prepareStr | ( | $a_str | ) |
Definition at line 137 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setChannelAbout | ( | $a_ab | ) |
Unique URI that defines the channel.
Definition at line 73 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setChannelDescription | ( | $a_desc | ) |
Channel Description.
Definition at line 113 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 100 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setChannelTitle | ( | $a_title | ) |
Channel Title.
Definition at line 86 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setEncoding | ( | $a_enc | ) |
Set feed encoding.
Default is UTF-8.
Definition at line 60 of file class.ilFeedWriter.php.
ilFeedWriter::showFeed | ( | ) |
Definition at line 205 of file class.ilFeedWriter.php.
References getFeed().
ilFeedWriter::$ch_about = "" |
Definition at line 47 of file class.ilFeedWriter.php.
Referenced by getChannelAbout().
ilFeedWriter::$ch_description = "" |
Definition at line 50 of file class.ilFeedWriter.php.
ilFeedWriter::$ch_link = "" |
Definition at line 49 of file class.ilFeedWriter.php.
Referenced by getChannelLink().
ilFeedWriter::$ch_title = "" |
Definition at line 48 of file class.ilFeedWriter.php.
Referenced by getChannelTitle().
ilFeedWriter::$encoding = "UTF-8" |
Definition at line 46 of file class.ilFeedWriter.php.
Referenced by getEncoding().
ilFeedWriter::$items = array() |
Definition at line 51 of file class.ilFeedWriter.php.
Referenced by getItems(), ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().