DAViCal
AtomFeed Class Reference
Inheritance diagram for AtomFeed:
Collaboration diagram for AtomFeed:

Public Member Functions

 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')
 

Private Attributes

 $id
 
 $title
 
 $updated
 
 $nodes
 

Detailed Description

Definition at line 147 of file AtomFeed.php.

Member Function Documentation

◆ 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_valueThe link target
Returns
XMLElement the node that was added.

Definition at line 204 of file AtomFeed.php.


The documentation for this class was generated from the following file: