Class SimplePie_Item

Description
Variable Summary
 mixed $data
 mixed $feed
Method Summary
 SimplePie_Item SimplePie_Item ( $feed,  $data)
 void __destruct ()
 void add_to_digg ()
 void add_to_furl ()
 void add_to_magnolia ()
 void add_to_myweb20 ()
 void add_to_newsvine ()
 void add_to_reddit ()
 void add_to_segnalo ()
 void add_to_simpy ()
 void add_to_spurl ()
 void add_to_wists ()
 void get_author ([ $key = 0])
 void get_authors ()
 void get_base ([ $element = array()])
 void get_categories ()
 void get_category ([ $key = 0])
 void get_content ([ $content_only = false])
 void get_contributor ([ $key = 0])
 void get_copyright ()
 void get_date ([ $date_format = 'j F Y, g:i a'])
 void get_description ([ $description_only = false])
 void get_enclosure ([ $key = 0], [ $prefer = null])
 void get_enclosures ()
 void get_feed ()
 void get_id ([ $hash = false])
 void get_item_tags ( $namespace,  $tag)
 void get_latitude ()
 void get_link ([ $key = 0], [ $rel = 'alternate'])
 void get_links ([ $rel = 'alternate'])
 void get_local_date ([ $date_format = '%c'])
 void get_longitude ()
 void get_permalink ()
 void get_source ()
 void get_title ()
 void sanitize ( $data,  $type, [ $base = ''])
 void __toString ()
Variables
mixed $data = array() (line 3116)
mixed $feed (line 3115)
Methods
Constructor SimplePie_Item (line 3118)
SimplePie_Item SimplePie_Item ( $feed,  $data)
  • $feed
  • $data
Destructor __destruct (line 3132)

Remove items that link back to this before destroying this object

void __destruct ()
add_to_blinklist (line 5658)
void add_to_blinklist ()
add_to_blogmarks (line 5663)
void add_to_blogmarks ()
add_to_delicious (line 5668)
void add_to_delicious ()
add_to_digg (line 5673)
void add_to_digg ()
add_to_furl (line 5678)
void add_to_furl ()
add_to_magnolia (line 5683)
void add_to_magnolia ()
add_to_myweb20 (line 5688)
void add_to_myweb20 ()
add_to_newsvine (line 5693)
void add_to_newsvine ()
add_to_reddit (line 5698)
void add_to_reddit ()
add_to_segnalo (line 5703)
void add_to_segnalo ()
add_to_simpy (line 5708)
void add_to_simpy ()
add_to_spurl (line 5713)
void add_to_spurl ()
add_to_wists (line 5718)
void add_to_wists ()
get_author (line 3388)
void get_author ([ $key = 0])
  • $key
get_authors (line 3472)
void get_authors ()
get_base (line 3152)
void get_base ([ $element = array()])
  • $element
get_categories (line 3331)
void get_categories ()
get_category (line 3318)
void get_category ([ $key = 0])
  • $key
get_content (line 3294)
void get_content ([ $content_only = false])
  • $content_only
get_contributor (line 3401)
void get_contributor ([ $key = 0])
  • $key
get_contributors (line 3414)
void get_contributors ()
get_copyright (line 3554)
void get_copyright ()
get_date (line 3574)
void get_date ([ $date_format = 'j F Y, g:i a'])
  • $date_format
get_description (line 3250)
void get_description ([ $description_only = false])
  • $description_only
get_enclosure (line 3766)
  • todo: Add ability to prefer one type of content over another (in a media group).
void get_enclosure ([ $key = 0], [ $prefer = null])
  • $key
  • $prefer
get_enclosures (line 3789)

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.

  • 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).
void get_enclosures ()
get_feed (line 3162)
void get_feed ()
get_id (line 3167)
void get_id ([ $hash = false])
  • $hash
get_item_tags (line 3140)
void get_item_tags ( $namespace,  $tag)
  • $namespace
  • $tag
get_latitude (line 5580)
void get_latitude ()
get_link (line 3676)
void get_link ([ $key = 0], [ $rel = 'alternate'])
  • $key
  • $rel
get_links (line 3689)
void get_links ([ $rel = 'alternate'])
  • $rel
get_local_date (line 3642)
void get_local_date ([ $date_format = '%c'])
  • $date_format
get_longitude (line 5596)
void get_longitude ()
get_permalink (line 3658)
void get_permalink ()
get_source (line 5616)
void get_source ()
get_title (line 3210)
void get_title ()
sanitize (line 3157)
void sanitize ( $data,  $type, [ $base = ''])
  • $data
  • $type
  • $base
search_technorati (line 5723)
void search_technorati ()
__toString (line 3124)
void __toString ()

Documentation generated on Tue, 19 Nov 2013 15:13:49 +0100 by phpDocumentor 1.4.3