Class SimplePie_Item

Description

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


	
			
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 ()
mixed add_to_service (string $item_url, [string $title_url = null], [ $summary_url = null])
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 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_service (line 5633)

Creates the add_to_* methods' return data

  • return: URL if feed exists, false otherwise
  • access: private
mixed add_to_service (string $item_url, [string $title_url = null], [ $summary_url = null])
  • string $item_url: String to prefix to the item permalink
  • string $title_url: String to prefix to the item title (and suffix to the item permalink)
  • $summary_url
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 = 0])
  • $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 = 0])
  • $key
get_content (line 3290)
void get_content ([ $content_only = false])
  • $content_only
get_contributor (line 3397)
void get_contributor ([ $key = 0])
  • $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 = 0], [ $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 = 0], [ $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 Mon, 25 Jun 2012 13:59:35 -0500 by phpDocumentor 1.4.4