SimplePie: PHP-based RSS and Atom feed handling
 
  • Overview
  • Demo
  • Blog
  • Download
  • Documentation
  • API Docs
  • Support
  • Issue Tracker
  • FAQ
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • SimplePie
    • API
    • Caching
    • HTTP
    • Parsing

Classes

  • SimplePie
  • SimplePie_Author
  • SimplePie_Caption
  • SimplePie_Category
  • SimplePie_Copyright
  • SimplePie_Core
  • SimplePie_Credit
  • SimplePie_Enclosure
  • SimplePie_Item
  • SimplePie_Rating
  • SimplePie_Restriction
  • SimplePie_Source

Class SimplePie_Rating

Handles <media:rating> or <itunes:explicit> tags as defined in Media RSS and iTunes RSS respectively

Used by SimplePie_Enclosure::get_rating() and SimplePie_Enclosure::get_ratings()

This class can be overloaded with SimplePie::set_rating_class()

Package: SimplePie\API
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Rating.php
Methods summary
public
# __construct( $scheme = null, $value = null )

Constructor, used to input the data

For documentation on all the parameters, see the corresponding properties and their accessors

public string
# __toString( )

String-ified version

Returns

string
public string|null
# get_scheme( )

Get the organizational scheme for the rating

Returns

string|null
public string|null
# get_value( )

Get the value of the rating

Returns

string|null
Properties summary
public string $scheme
#

Rating scheme

See

SimplePie_Rating::get_scheme()
public string $value
#

Rating value

See

SimplePie_Rating::get_value()

Show some love! Wishlists for Geoffrey, Ryan P., and Ryan M.

SimplePie is © 2004–2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors. Licensed under the BSD License. Hosted thanks to Matt Mullenweg, API documentation generated by ApiGen 2.6.1. Variation on the Feed Icon by Wolfgang Bartelme.