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_Credit

Handles <media:credit> as defined in Media RSS

Used by SimplePie_Enclosure::get_credit() and SimplePie_Enclosure::get_credits()

This class can be overloaded with SimplePie::set_credit_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/Credit.php
Methods summary
public
# __construct( $role = null, $scheme = null, $name = 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_role( )

Get the role of the person receiving credit

Returns

string|null
public string|null
# get_scheme( )

Get the organizational scheme

Returns

string|null
public string|null
# get_name( )

Get the credited person/entity's name

Returns

string|null
Properties summary
public string $role
#

Credited role

See

SimplePie_Credit::get_role()
public string $scheme
#

Organizational scheme

See

SimplePie_Credit::get_scheme()
public string $name
#

Credited name

See

SimplePie_Credit::get_name()

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.