WPDev.one
Core Class

Credit

class Credit // Constructor: function Object() { [native code] }

Handles `<media:credit>` as defined in Media RSS

Methods 5 methods

Method / Return Description
__construct()
void

Constructor, used to input the data

Parameters: $role: mixed, $scheme: mixed, $name: mixed
__toString()
string

String-ified version

get_role()
(string

Get the role of the person receiving credit

get_scheme()
(string

Get the organizational scheme

get_name()
(string

Get the credited person/entity's name

Properties

Property / Type Description
$role
mixed
public
No description available.
$scheme
mixed
public
No description available.
$name
mixed
public
No description available.

Class Information

Source File
wp-includes/SimplePie/src/Credit.php
Advertisement