SimplePie
[ class tree: SimplePie ] [ index: SimplePie ] [ all elements ]

Class: SimplePie_Item

Source Location: /modules/Feeds/pnincludes/simplepie.inc

Class Overview




Variables

Methods



Class Details

[line 3052]


[ Top ]


Class Variables

$data = array()

[line 3055]


Type:   mixed


[ Top ]

$feed =

[line 3054]


Type:   mixed


[ Top ]



Class Methods


constructor SimplePie_Item [line 3057]

SimplePie_Item SimplePie_Item( $feed, $data)



Parameters:

   $feed  
   $data  

[ Top ]

destructor __destruct [line 3071]

void __destruct( )

Remove items that link back to this before destroying this object



[ Top ]

method add_to_blinklist [line 5552]

void add_to_blinklist( )



[ Top ]

method add_to_blogmarks [line 5557]

void add_to_blogmarks( )



[ Top ]

method add_to_delicious [line 5562]

void add_to_delicious( )



[ Top ]

method add_to_digg [line 5567]

void add_to_digg( )



[ Top ]

method add_to_furl [line 5572]

void add_to_furl( )



[ Top ]

method add_to_magnolia [line 5577]

void add_to_magnolia( )



[ Top ]

method add_to_myweb20 [line 5582]

void add_to_myweb20( )



[ Top ]

method add_to_newsvine [line 5587]

void add_to_newsvine( )



[ Top ]

method add_to_reddit [line 5592]

void add_to_reddit( )



[ Top ]

method add_to_segnalo [line 5597]

void add_to_segnalo( )



[ Top ]

method add_to_simpy [line 5602]

void add_to_simpy( )



[ Top ]

method add_to_spurl [line 5607]

void add_to_spurl( )



[ Top ]

method add_to_wists [line 5612]

void add_to_wists( )



[ Top ]

method get_author [line 3313]

void get_author( [ $key = 0])



Parameters:

   $key  

[ Top ]

method get_authors [line 3400]

void get_authors( )



Tags:

todo:  Atom inheritance (item author, source author, feed author)


[ Top ]

method get_base [line 3088]

void get_base( [ $element = array()])



Parameters:

   $element  

[ Top ]

method get_categories [line 3267]

void get_categories( )



[ Top ]

method get_category [line 3254]

void get_category( [ $key = 0])



Parameters:

   $key  

[ Top ]

method get_content [line 3230]

void get_content( [ $content_only = false])



Parameters:

   $content_only  

[ Top ]

method get_contributor [line 3326]

void get_contributor( [ $key = 0])



Parameters:

   $key  

[ Top ]

method get_contributors [line 3339]

void get_contributors( )



[ Top ]

method get_copyright [line 3482]

void get_copyright( )



[ Top ]

method get_date [line 3502]

void get_date( [ $date_format = 'j F Y, g:i a'])



Parameters:

   $date_format  

[ Top ]

method get_description [line 3186]

void get_description( [ $description_only = false])



Parameters:

   $description_only  

[ Top ]

method get_enclosure [line 3694]

void get_enclosure( [ $key = 0], [ $prefer = null])



Tags:

todo:  Add ability to prefer one type of content over another (in a media group).


Parameters:

   $key  
   $prefer  

[ Top ]

method get_enclosures [line 3717]

void get_enclosures( )

Grabs all available enclosures (podcasts, etc.)

Supports the <enclosure> RSS tag, as well as Media RSS and iTunes RSS.

At this point, we're pretty much assuming that all enclosures for an item are the same content. Anything else is too complicated to properly support.




Tags:

todo:  Add support for end-user defined sorting of enclosures by type/handler (so we can prefer the faster-loading FLV over MP4).
todo:  If an element exists at a level, but it's value is empty, we should fall back to the value from the parent (if it exists).


[ Top ]

method get_feed [line 3098]

void get_feed( )



[ Top ]

method get_id [line 3103]

void get_id( [ $hash = false])



Parameters:

   $hash  

[ Top ]

method get_item_tags [line 3076]

void get_item_tags( $namespace, $tag)



Parameters:

   $namespace  
   $tag  

[ Top ]

method get_latitude [line 5478]

void get_latitude( )



[ Top ]

method get_link [line 3604]

void get_link( [ $key = 0], [ $rel = 'alternate'])



Parameters:

   $key  
   $rel  

[ Top ]

method get_links [line 3617]

void get_links( [ $rel = 'alternate'])



Parameters:

   $rel  

[ Top ]

method get_local_date [line 3570]

void get_local_date( [ $date_format = '%c'])



Parameters:

   $date_format  

[ Top ]

method get_longitude [line 5494]

void get_longitude( )



[ Top ]

method get_permalink [line 3586]

void get_permalink( )



[ Top ]

method get_source [line 5514]

void get_source( )



[ Top ]

method get_title [line 3146]

void get_title( )



[ Top ]

method sanitize [line 3093]

void sanitize( $data, $type, [ $base = ''])



Parameters:

   $data  
   $type  
   $base  

[ Top ]

method search_technorati [line 5617]

void search_technorati( )



[ Top ]

method __toString [line 3063]

void __toString( )



[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:57:55 +0200 by phpDocumentor 1.4.1