ILIAS
release_4-3 Revision
|
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 25 of file class.ilFeedWriter.php.
ilFeedWriter::addItem | ( | $a_item | ) |
Add Item Item is an object of type ilFeedItem.
Definition at line 108 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::getChannelAbout | ( | ) |
Definition at line 59 of file class.ilFeedWriter.php.
References $ch_about.
Referenced by getFeed().
ilFeedWriter::getChannelDescription | ( | ) |
Definition at line 99 of file class.ilFeedWriter.php.
Referenced by getFeed().
ilFeedWriter::getChannelLink | ( | ) |
Definition at line 86 of file class.ilFeedWriter.php.
References $ch_link.
Referenced by getFeed().
ilFeedWriter::getChannelTitle | ( | ) |
Definition at line 72 of file class.ilFeedWriter.php.
References $ch_title.
Referenced by getFeed().
ilFeedWriter::getEncoding | ( | ) |
Definition at line 46 of file class.ilFeedWriter.php.
References $encoding.
Referenced by getFeed().
ilFeedWriter::getFeed | ( | ) |
get feed xml
Definition at line 129 of file class.ilFeedWriter.php.
References $d, getChannelAbout(), getChannelDescription(), getChannelLink(), getChannelTitle(), and getEncoding().
Referenced by showFeed().
ilFeedWriter::getItems | ( | ) |
ilFeedWriter::ilFeedWriter | ( | ) |
Definition at line 34 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::prepareStr | ( | $a_str | ) |
Definition at line 118 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 54 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setChannelDescription | ( | $a_desc | ) |
Channel Description.
Definition at line 94 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 81 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().
ilFeedWriter::setChannelTitle | ( | $a_title | ) |
Channel Title.
Definition at line 67 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 41 of file class.ilFeedWriter.php.
ilFeedWriter::showFeed | ( | ) |
Definition at line 186 of file class.ilFeedWriter.php.
References getFeed().
ilFeedWriter::$ch_about = "" |
Definition at line 28 of file class.ilFeedWriter.php.
Referenced by getChannelAbout().
ilFeedWriter::$ch_description = "" |
Definition at line 31 of file class.ilFeedWriter.php.
ilFeedWriter::$ch_link = "" |
Definition at line 30 of file class.ilFeedWriter.php.
Referenced by getChannelLink().
ilFeedWriter::$ch_title = "" |
Definition at line 29 of file class.ilFeedWriter.php.
Referenced by getChannelTitle().
ilFeedWriter::$encoding = "UTF-8" |
Definition at line 27 of file class.ilFeedWriter.php.
Referenced by getEncoding().
ilFeedWriter::$items = array() |
Definition at line 32 of file class.ilFeedWriter.php.
Referenced by getItems(), ilObjectFeedWriter\ilObjectFeedWriter(), and ilUserFeedWriter\ilUserFeedWriter().