Support Joomla!

Packages

Package: SimplePie

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class SimplePie_Item

Description

Located in /simplepie/simplepie.php (line 3109)

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

Remove items that link back to this before destroying this object

void __destruct ()
add_to_blinklist (line 5654)
void add_to_blinklist ()
add_to_blogmarks (line 5659)
void add_to_blogmarks ()
add_to_delicious (line 5664)
void add_to_delicious ()
add_to_digg (line 5669)
void add_to_digg ()
add_to_furl (line 5674)
void add_to_furl ()
add_to_magnolia (line 5679)
void add_to_magnolia ()
add_to_myweb20 (line 5684)
void add_to_myweb20 ()
add_to_newsvine (line 5689)
void add_to_newsvine ()
add_to_reddit (line 5694)
void add_to_reddit ()
add_to_segnalo (line 5699)
void add_to_segnalo ()
add_to_simpy (line 5704)
void add_to_simpy ()
add_to_spurl (line 5709)
void add_to_spurl ()
add_to_wists (line 5714)
void add_to_wists ()
get_author (line 3384)
void get_author ( $key)
  • $key
get_authors (line 3468)
void get_authors ()
get_base (line 3148)
void get_base ([ $element = array()])
  • $element
get_categories (line 3327)
void get_categories ()
get_category (line 3314)
void get_category ( $key)
  • $key
get_content (line 3290)
void get_content ([ $content_only = false])
  • $content_only
get_contributor (line 3397)
void get_contributor ( $key)
  • $key
get_contributors (line 3410)
void get_contributors ()
get_copyright (line 3550)
void get_copyright ()
get_date (line 3570)
void get_date ([ $date_format = 'j F Y, g:i a'])
  • $date_format
get_description (line 3246)
void get_description ([ $description_only = false])
  • $description_only
get_enclosure (line 3762)
  • todo: Add ability to prefer one type of content over another (in a media group).
void get_enclosure ( $key, [ $prefer = null])
  • $key
  • $prefer
get_enclosures (line 3785)

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 3158)
void get_feed ()
get_id (line 3163)
void get_id ([ $hash = false])
  • $hash
get_item_tags (line 3136)
void get_item_tags ( $namespace,  $tag)
  • $namespace
  • $tag
get_latitude (line 5576)
void get_latitude ()
get_link (line 3672)
void get_link ( $key, [ $rel = 'alternate'])
  • $key
  • $rel
get_links (line 3685)
void get_links ([ $rel = 'alternate'])
  • $rel
get_local_date (line 3638)
void get_local_date ([ $date_format = '%c'])
  • $date_format
get_longitude (line 5592)
void get_longitude ()
get_permalink (line 3654)
void get_permalink ()
get_source (line 5612)
void get_source ()
get_title (line 3206)
void get_title ()
sanitize (line 3153)
void sanitize ( $data,  $type, [ $base = ''])
  • $data
  • $type
  • $base
search_technorati (line 5719)
void search_technorati ()
__toString (line 3120)
void __toString ()

Documentation generated on Sat, 14 Nov 2009 11:20:28 +0000 by phpDocumentor 1.3.1