|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Feed writer class. More...
Inheritance diagram for ilFeedWriter:
Collaboration diagram for ilFeedWriter: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 constructor.
Definition at line 47 of file class.ilFeedWriter.php.
References $DIC.
| 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().
Here is the caller graph for this function:| ilFeedWriter::getChannelAbout | ( | ) |
Definition at line 76 of file class.ilFeedWriter.php.
References $ch_about.
Referenced by getFeed().
Here is the caller graph for this function:| ilFeedWriter::getChannelDescription | ( | ) |
Definition at line 116 of file class.ilFeedWriter.php.
Referenced by getFeed().
Here is the caller graph for this function:| ilFeedWriter::getChannelLink | ( | ) |
Definition at line 103 of file class.ilFeedWriter.php.
References $ch_link.
Referenced by getFeed().
Here is the caller graph for this function:| ilFeedWriter::getChannelTitle | ( | ) |
Definition at line 89 of file class.ilFeedWriter.php.
References $ch_title.
Referenced by getFeed().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilFeedWriter::getEncoding | ( | ) |
Definition at line 63 of file class.ilFeedWriter.php.
References $encoding.
Referenced by getFeed().
Here is the caller graph for this function:| ilFeedWriter::getFeed | ( | ) |
get feed xml
Definition at line 146 of file class.ilFeedWriter.php.
References $d, $h, $m, $s, date, getChannelAbout(), getChannelDescription(), getChannelLink(), getChannelTitle(), and getEncoding().
Referenced by showFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilFeedWriter::setChannelTitle | ( | $a_title | ) |
Channel Title.
Definition at line 84 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
Here is the caller graph for this function:| ilFeedWriter::setEncoding | ( | $a_enc | ) |
Set feed encoding.
Default is UTF-8.
Definition at line 58 of file class.ilFeedWriter.php.
| ilFeedWriter::showFeed | ( | ) |
Definition at line 201 of file class.ilFeedWriter.php.
References getFeed().
Here is the call graph for this function:| 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().