content
Packages
Interfaces
Classes
Files

Class: FeedData

Source Location: /content/syndication/feed_data.class.php [line 40]

Class Overview


Contains meta-informations about a feed with its entries

Author(s):



Class Details

Contains meta-informations about a feed with its entries

Tags:

[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Methods

constructor FeedData [line 48]

FeedData FeedData( [FeedData $data = null])
Builds a FeedData Object

Parameters:

FeedData   $data   an other FeedData object to clone
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method add_item [line 106]

void add_item( $item)

Parameters:

   $item  
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_date [line 111]

void get_date( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_date_rfc822 [line 112]

void get_date_rfc822( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_date_rfc3339 [line 113]

void get_date_rfc3339( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_desc [line 114]

void get_desc( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_host [line 116]

void get_host( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_items [line 122]

FeedItem[] get_items( )
Returns the feed items

Tags:

  • return: the feed items
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_lang [line 115]

void get_lang( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_link [line 110]

void get_link( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_title [line 109]

void get_title( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method serialize [line 135]

void serialize( )
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_auth_bit [line 92]

void set_auth_bit( int $value)
Sets the feed auth bit, useful to check authorizations

Parameters:

int   $value   the bit position in an int (from 1 to 32)
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_date [line 72]

void set_date( Date $value)
Sets the feed data date

Parameters:

Date   $value   a date object representing the feed date
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_desc [line 77]

void set_desc( string $value)
Sets the feed description

Parameters:

string   $value   the feed description
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_host [line 87]

void set_host( string $value)
Sets the feed host

Parameters:

string   $value   the feed host
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_lang [line 82]

void set_lang( string $value)
Sets the feed language

Parameters:

string   $value   the feed language
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_link [line 97]

void set_link( mixed $value)
Sets the feed item link

Parameters:

mixed   $value   a string url or an Url object
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_title [line 67]

void set_title( string $value)
Sets the feed title

Parameters:

string   $value   The title
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method subitems [line 147]

FeedItem[] subitems( [int $number = 10], [int $begin_at = 0])
Returns a items list containing $number items starting from the $begin_at one

Tags:

  • return: the items list containing $number items starting from the $begin_at one

Parameters:

int   $number   the number of items to retrieve
int   $begin_at   the number of the first to retrieve
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Variables

[line 170]   mixed  $auth_bit  =  0
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 165]   mixed  $date  =  null
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 166]   mixed  $desc  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 168]   mixed  $host  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 169]   mixed  $items  = array()
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 167]   mixed  $lang  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 164]   mixed  $link  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 163]   mixed  $title  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
Documentation generated on Tue, 28 Jul 2009 22:43:36 +0200 by phpDocumentor 1.4.1