|
| setId ( $new_value) |
|
| setTitle ( $new_value, $type='text') |
|
| setDateModified ( $epoch) |
|
| setLink ( $new_value, $type="text/calendar", $rel='alternate') |
|
| setFeedLink ( $new_value, $type=null) |
|
| addAuthor ( $new_value) |
|
| setDescription ( $new_value, $type='text') |
|
| addNode ( $in_tag, $content=false, $attributes=false, $xmlns=null) |
|
| addEntry ( $new_entry) |
|
| createEntry ( $id=null, $title=null, $published=null, $updated=null) |
|
| export ( $format='atom') |
|
Definition at line 147 of file AtomFeed.php.
◆ __construct()
AtomFeed::__construct |
( |
| ) |
|
◆ addAuthor()
AtomFeed::addAuthor |
( |
|
$new_value | ) |
|
◆ addEntry()
AtomFeed::addEntry |
( |
|
$new_entry | ) |
|
◆ addNode()
AtomFeed::addNode |
( |
|
$in_tag, |
|
|
|
$content = false , |
|
|
|
$attributes = false , |
|
|
|
$xmlns = null |
|
) |
| |
◆ createEntry()
AtomFeed::createEntry |
( |
|
$id = null , |
|
|
|
$title = null , |
|
|
|
$published = null , |
|
|
|
$updated = null |
|
) |
| |
◆ export()
AtomFeed::export |
( |
|
$format = 'atom' | ) |
|
◆ setDateModified()
AtomFeed::setDateModified |
( |
|
$epoch | ) |
|
◆ setDescription()
AtomFeed::setDescription |
( |
|
$new_value, |
|
|
|
$type = 'text' |
|
) |
| |
◆ setFeedLink()
AtomFeed::setFeedLink |
( |
|
$new_value, |
|
|
|
$type = null |
|
) |
| |
Sets the feed link (rel=self), ignoring the parameter which is for compatibility with the Zend library API, although we use this for the Id, whereas they use the first link that is set.
- Parameters
-
uri | $new_value | The link target |
- Returns
- XMLElement the node that was added.
Definition at line 204 of file AtomFeed.php.
◆ setId()
AtomFeed::setId |
( |
|
$new_value | ) |
|
◆ setLink()
AtomFeed::setLink |
( |
|
$new_value, |
|
|
|
$type = "text/calendar" , |
|
|
|
$rel = 'alternate' |
|
) |
| |
◆ setTitle()
AtomFeed::setTitle |
( |
|
$new_value, |
|
|
|
$type = 'text' |
|
) |
| |
◆ $id
◆ $nodes
◆ $title
◆ $updated
The documentation for this class was generated from the following file: