| ILIAS
    release_5-2 Revision v5.2.25-18-g3f80b828510
    | 
Feed writer class. More...
 Inheritance diagram for ilFeedWriter:
 Inheritance diagram for ilFeedWriter: Collaboration 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() | |
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 112 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getChannelAbout | ( | ) | 
Definition at line 63 of file class.ilFeedWriter.php.
References $ch_about.
Referenced by getFeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getChannelDescription | ( | ) | 
Definition at line 103 of file class.ilFeedWriter.php.
Referenced by getFeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getChannelLink | ( | ) | 
Definition at line 90 of file class.ilFeedWriter.php.
References $ch_link.
Referenced by getFeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getChannelTitle | ( | ) | 
Definition at line 76 of file class.ilFeedWriter.php.
References $ch_title.
Referenced by getFeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getContextPath | ( | $a_ref_id | ) | 
Definition at line 196 of file class.ilFeedWriter.php.
References $items, $lng, $path, and $row.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getEncoding | ( | ) | 
Definition at line 50 of file class.ilFeedWriter.php.
References $encoding.
Referenced by getFeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getFeed | ( | ) | 
get feed xml
Definition at line 133 of file class.ilFeedWriter.php.
References $d, $h, date, getChannelAbout(), getChannelDescription(), getChannelLink(), getChannelTitle(), and getEncoding().
Referenced by showFeed().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::getItems | ( | ) | 
Definition at line 117 of file class.ilFeedWriter.php.
References $items.
| ilFeedWriter::prepareStr | ( | $a_str | ) | 
Definition at line 122 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::setChannelAbout | ( | $a_ab | ) | 
Unique URI that defines the channel.
Definition at line 58 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::setChannelDescription | ( | $a_desc | ) | 
Channel Description.
Definition at line 98 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 85 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::setChannelTitle | ( | $a_title | ) | 
Channel Title.
Definition at line 71 of file class.ilFeedWriter.php.
Referenced by ilObjectFeedWriter\__construct(), and ilUserFeedWriter\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFeedWriter::setEncoding | ( | $a_enc | ) | 
Set feed encoding.
Default is UTF-8.
Definition at line 45 of file class.ilFeedWriter.php.
| ilFeedWriter::showFeed | ( | ) | 
Definition at line 190 of file class.ilFeedWriter.php.
References getFeed().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), getContextPath(), and getItems().